X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=289773ba02a597b0a6ac0dc3f814b1171070f746;hp=c291ffce4fab4db1e1d182e87ad23d6a0ec14bb8;hb=491c75a1d40b96efd398d689d40d8b8a0d165c87;hpb=18ee5ea33d13958474b566621d100eb7e4ff5fc4 diff --git a/chroot-script b/chroot-script index c291ffc..289773b 100755 --- a/chroot-script +++ b/chroot-script @@ -86,6 +86,16 @@ 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