X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvserver-build.template;h=b2efab5dfa6e0152c92f438fead5c527ac251ae0;hb=7b2e4406749b07778682e12434667c67c12f8243;hp=b56a3e4ec66ebf34981f862da075f945380448fb;hpb=b7524644f70b0b0c4fba7f11b7e9ad3fb1c783da;p=util-vserver.git diff --git a/scripts/vserver-build.template b/scripts/vserver-build.template index b56a3e4..b2efab5 100644 --- a/scripts/vserver-build.template +++ b/scripts/vserver-build.template @@ -87,12 +87,12 @@ for t in "${TEMPLATE[@]}"; do $DECOMPRESS "$t" | $EXTRACT done -popd &> /dev/null -test -z "$no_dev_sanity" || { +test -z "$no_dev_sanity" && { rm -rf dev/* populateDev } +popd &> /dev/null test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"