schroot-dsa/config: fix mirror without default-mirror file
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 16 Nov 2015 22:49:54 +0000 (23:49 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 16 Nov 2015 22:49:54 +0000 (23:49 +0100)
RT#6050

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/schroot/files/schroot-dsa/config

index 25d36b1..41178bf 100644 (file)
@@ -47,7 +47,7 @@ CHROOT_FILE_UNPACK_DIR=/srv/chroot/schroot-unpack
 if [ -e /etc/schroot/dsa/default-mirror ]; then
     MIRROR=$(cat /etc/schroot/dsa/default-mirror )
 fi
-MIRROR=${MIRROR:-ftp.debian.org}
+MIRROR=${MIRROR:-http://ftp.debian.org/debian/}
 
 if [ "$(basename "$0")" = "00check" ] &&
    [ "$CHROOT_TYPE" = "file" ] &&