X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fporterbox%2Ffiles%2Fschroot-setup.d%2F99porterbox-extra-apt-options;h=1753a7d948c6703020ac48bf5a7da42ade72dd01;hb=48bc7ea6289b52409b355c4f0a08bbb27128eae6;hp=26947b79d4e91098283e6784d5d6792aae2da3b7;hpb=1af943401cb3dea6a550030e3c6ad3043c463e03;p=mirror%2Fdsa-puppet.git diff --git a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-apt-options b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-apt-options index 26947b79d..1753a7d94 100755 --- a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-apt-options +++ b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-apt-options @@ -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