Add --i-know-its-there option
[util-vserver.git] / scripts / vserver-build.functions
index eadef2f..5d6092d 100644 (file)
@@ -202,7 +202,8 @@ function base._addGeneratedFile
 function base.initFilesystem
 {
     test -z "$1" || _renameVserverCfg
-    { isDirectoryEmpty "$VDIR" 1 && test  ! -e "$SETUP_CONFDIR"; } || colpanic $"\
+    if test -n "$OPTION_SEMIFORCE"; then
+    { { test -n "$OPTION_SEMIFORCE" || isDirectoryEmpty "$VDIR" 1 } && test  ! -e "$SETUP_CONFDIR"; } || colpanic $"\
 vserver-topdirectory '$VDIR' and/or configuration at '$SETUP_CONFDIR'
 exist already; please try to use '--force', or remove them manually."