projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
18ee5ea
)
Add sources.list support for squeeze-lts
author
Michael Prokop
<mika@grml.org>
Mon, 13 Oct 2014 09:36:12 +0000
(11:36 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 13 Oct 2014 10:14:22 +0000
(12:14 +0200)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
c291ffc
..
289773b
100755
(executable)
--- 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