This website works better with JavaScript.
Home
Explore
Help
Sign In
rudefox
/
burrow-pi-img
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
25
Wiki
Activity
Browse Source
stage2/00-copies-and-fills/02-run.sh: Fix re-runs of script (
#301
)
Check that file exist before move.
pull/303/head
Xerxes Rånby
3 years ago
committed by
XECDesign
parent
3db1168fbd
commit
57ef9b88e3
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
stage2/00-copies-and-fills/02-run.sh
+ 4
- 1
stage2/00-copies-and-fills/02-run.sh
View File
@ -1,3 +1,6 @@
#!/bin/bash -e
mv
"
${
ROOTFS_DIR
}
/etc/ld.so.preload
"
"
${
ROOTFS_DIR
}
/etc/ld.so.preload.disabled
"
if
[
-f
"
${
ROOTFS_DIR
}
/etc/ld.so.preload
"
]
;
then
mv
"
${
ROOTFS_DIR
}
/etc/ld.so.preload
"
"
${
ROOTFS_DIR
}
/etc/ld.so.preload.disabled
"
fi
Write
Preview
Loading…
Cancel
Save