Make schroot scripts work on wheezy
[mirror/dsa-puppet.git] / modules / porterbox / files / schroot-dsa / config
index 4667031..86be1a9 100644 (file)
@@ -5,7 +5,14 @@
 ## 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