X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;fp=chroot-script;h=3e875971b9587139b34116e094dd5bc927cabe17;hp=8f8e5ff1eba1aec73e8628bdf7f68ef81e5d7d13;hb=ce80d13a327640893cce73ff0748e91c84184912;hpb=0a759e73024f24becfae9148ed614e01c537938d diff --git a/chroot-script b/chroot-script index 8f8e5ff..3e87597 100755 --- a/chroot-script +++ b/chroot-script @@ -101,20 +101,10 @@ chrootmirror() { fi fi - # LTS support - case "$RELEASE" in - squeeze) - if [ -n "$MIRROR" ] ; then - echo "Release matching $RELEASE - enabling LTS support in sources.list" - echo "deb $MIRROR ${RELEASE}-lts $COMPONENTS" >> /etc/apt/sources.list - fi - ;; - esac - # add security.debian.org: case "$RELEASE" in - unstable|sid|lenny) ;; # no security pool available - squeeze|wheezy|jessie|stretch|buster) + unstable|sid) ;; # no security pool available + jessie|stretch|buster) echo "Adding security.debian.org to sources.list." echo "deb http://security.debian.org ${RELEASE}/updates $COMPONENTS" >> /etc/apt/sources.list ;;