Skip to content

Commit

Permalink
Add sources.list support for squeeze-lts
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Oct 13, 2014
1 parent 18ee5ea commit 491c75a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions chroot-script
Expand Up @@ -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
Expand Down

0 comments on commit 491c75a

Please sign in to comment.