Do not enable security mirror for lenny release, being unavailable/unsupported nowadays
authorMichael Prokop <mika@grml.org>
Fri, 18 Apr 2014 23:53:07 +0000 (01:53 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 18 Apr 2014 23:53:07 +0000 (01:53 +0200)
chroot-script

index ce3f624..3ae79ee 100755 (executable)
@@ -88,7 +88,7 @@ chrootmirror() {
 
   # add security.debian.org:
   case "$RELEASE" in
-    unstable|sid) ;;  # no security pool available
+    unstable|sid|lenny) ;;  # no security pool available
     *)
       echo "Adding security.debian.org to sources.list."
       echo "deb http://security.debian.org ${RELEASE}/updates $COMPONENTS" >> /etc/apt/sources.list