summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-04-11 21:14:15 +0000
committererdgeist <erdgeist@erdgeist.org>2006-04-11 21:14:15 +0000
commitc034198ecf29453e2f71e6abd793884712a4705d (patch)
tree19abaad8da84967d23fc502b54962b8a76e1b84f
parent57bafb87794578de076034cbdf0eebe284ae72a1 (diff)
Flavours now unconditionally overwrite files in jail
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 6cca014..5ccc1d9 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -208,7 +208,7 @@ create)
208 # Final steps for flavour installation 208 # Final steps for flavour installation
209 if [ "${newjail_fill}" = "YES" -a "${newjail_flavour}" ]; then 209 if [ "${newjail_fill}" = "YES" -a "${newjail_flavour}" ]; then
210 # install files and config to new jail 210 # install files and config to new jail
211 cd ${ezjail_flavours}/${newjail_flavour} && find * | cpio -p -v ${newjail_root} > /dev/null 211 cd ${ezjail_flavours}/${newjail_flavour} && find * | cpio -p -u -v ${newjail_root} > /dev/null
212 [ $? = 0 ] || echo "Warning: Could not fully install flavour." 212 [ $? = 0 ] || echo "Warning: Could not fully install flavour."
213 213
214 # If a config is found, make it auto run on jails startup 214 # If a config is found, make it auto run on jails startup