apply Bill Allombert's patch with fixes
[mirror/dsa-puppet.git] / modules / porterbox / files / schroot-dsa / config
index 4e176c6..ba94f6f 100644 (file)
@@ -5,7 +5,15 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-. "/etc/schroot/default/config"
+FSTAB="/etc/schroot/dsa/fstab"
+[ -e "$FSTAB" ] || FSTAB="/etc/schroot/default/fstab"
+
+COPYFILES="/etc/schroot/dsa/copyfiles"
+[ -e "$COPYFILES" ] || COPYFILES="/etc/schroot/default/copyfiles"
+
+NSSDATABASES="/etc/schroot/dsa/nssdatabases"
+[ -e "$NSSDATABASES" ] || NSSDATABASES="/etc/schroot/default/nssdatabases"
+
 
 # added by weasel:
 if [ "$CHROOT_SESSION_PURGE" = "true" ]; then