From 491c75a1d40b96efd398d689d40d8b8a0d165c87 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 13 Oct 2014 11:36:12 +0200 Subject: [PATCH] Add sources.list support for squeeze-lts --- chroot-script | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.1.4