X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=289773ba02a597b0a6ac0dc3f814b1171070f746;hp=c291ffce4fab4db1e1d182e87ad23d6a0ec14bb8;hb=86c53253ecc5dd7971ab6e8d04b285c08265906a;hpb=9b9cdfe9d05c7e98b3f8070517ecbfca5ed5cb0d 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