From: Peter Palfrader Date: Sat, 12 Jul 2014 09:37:48 +0000 (+0200) Subject: Guard schroot setup scripts with PROFILE = dsa X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5e8c8cdd0a690aff715a93a4bfe7ff8d4012d63c;p=mirror%2Fdsa-puppet.git Guard schroot setup scripts with PROFILE = dsa --- 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 1753a7d94..db240dace 100755 --- a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-apt-options +++ b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-apt-options @@ -9,6 +9,8 @@ set -e +[ "$CHROOT_PROFILE" = "dsa" ] || exit 0 + . "$SETUP_DATA_DIR/common-data" . "$SETUP_DATA_DIR/common-functions" diff --git a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources index c5a1a20b6..2bdff1bb1 100755 --- a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources +++ b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources @@ -9,6 +9,8 @@ set -e +[ "$CHROOT_PROFILE" = "dsa" ] || exit 0 + . "$SETUP_DATA_DIR/common-data" . "$SETUP_DATA_DIR/common-functions"