## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
-[ -e "/etc/schroot/default/config" ] && . "/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
. "$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
. "$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