summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-04-15 10:27:21 +0200
committerHolger Levsen <holger@layer-acht.org>2016-04-15 10:27:21 +0200
commitf2b3156100b118543af401b81ed485068439a34d (patch)
treed7ff24ea215e130355ac3b1f95931de69e26b0cc
parent1dbf68ddc8353aa90bd05aeafdee762ae3098795 (diff)
downloadjenkins.debian.net-f2b3156100b118543af401b81ed485068439a34d.tar.xz
don't add non-existing sid/updates suite to sources.list
-rwxr-xr-xbin/schroot-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index b07c2917..7311687e 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -59,7 +59,7 @@ if [ "$SUITE" = "experimental" ] ; then
SUITE=sid
EXTRA_SOURCES[0]="deb $MIRROR experimental main $CONTRIB"
EXTRA_SOURCES[1]="deb-src $MIRROR experimental main $CONTRIB"
-elif [ "$SUITE" != "unstable" ] ; then
+elif [ "$SUITE" != "unstable" ] && [ "$SUITE" != "sid" ] ; then
EXTRA_SOURCES[6]="deb http://security.debian.org $SUITE/updates main $CONTRIB"
EXTRA_SOURCES[7]="deb-src http://security.debian.org $SUITE/updates main $CONTRIB"
fi