## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
-. "/etc/schroot/default/config"
+if [ -e "$/etc/schroot/default/config" ]; then
+ . "$/etc/schroot/default/config"
+else
+ FSTAB="/etc/schroot/default/fstab"
+ COPYFILES="/etc/schroot/default/copyfiles"
+ NSSDATABASES="/etc/schroot/default/nssdatabases"
+fi
+
# added by weasel:
if [ "$CHROOT_SESSION_PURGE" = "true" ]; then
case $CHROOT_DESCRIPTION in
"["*-*_*-dchroot"]"*)
- chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#[}"; chroot_type="${chroot_type%%]*}"
+ chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#\[}"; chroot_type="${chroot_type%%]*}"
suitevariant_arch_tuple="${chroot_type%%-dchroot-*}"
suitevariant=${suitevariant_arch_tuple%_*}
SUITE_BASE=${suitevariant%-*}
SUITE_VARIANT=${suitevariant##*-}
;;
"["*_*-dchroot"]"*)
- chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#[}"; chroot_type="${chroot_type%%]*}"
+ chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#\[}"; chroot_type="${chroot_type%%]*}"
SUITE_BASE="${chroot_type%%_*}"
;;
*)