Add two headers
[mirror/dsa-puppet.git] / modules / porterbox / files / schroot-setup.d / 99porterbox-extra-sources
index 01fecbc..c5a1a20 100755 (executable)
@@ -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