]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/porterbox/files/schroot-setup.d/99porterbox-extra-apt-options
Make schroot scripts work on wheezy
[dsa-puppet.git] / modules / porterbox / files / schroot-setup.d / 99porterbox-extra-apt-options
index 26947b79d4e91098283e6784d5d6792aae2da3b7..1753a7d948c6703020ac48bf5a7da42ade72dd01 100755 (executable)
@@ -12,10 +12,8 @@ set -e
 . "$SETUP_DATA_DIR/common-data"
 . "$SETUP_DATA_DIR/common-functions"
 
-if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then
+if [ -f "${CHROOT_SCRIPT_CONFIG:-}" ]; then
     . "$CHROOT_SCRIPT_CONFIG"
-elif [ "$STATUS" = "ok" ]; then
-    fatal "script-config file '$CHROOT_SCRIPT_CONFIG' does not exist"
 fi