From: Peter Palfrader Date: Tue, 7 May 2013 09:23:34 +0000 (+0200) Subject: Try to find config harder X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=019e99f7b375c10fbb61e9892cbf9b33897e4236;p=mirror%2Fdsa-puppet.git Try to find config harder --- diff --git a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources index 01fecbcab..c5a1a20b6 100755 --- a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources +++ b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources @@ -14,6 +14,10 @@ set -e if [ -f "${CHROOT_SCRIPT_CONFIG:-}" ]; then . "$CHROOT_SCRIPT_CONFIG" +elif [ -f "$CHROOT_PROFILE_DIR/config" ]; then + . "$CHROOT_PROFILE_DIR/config" +else + fatal "Cannot find config script" fi