projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a759e7
)
chrootmirror: remove pre-jessie code
author
Chris Hofstaedtler
<chris@hofstaedtler.name>
Mon, 13 Nov 2023 22:46:55 +0000
(23:46 +0100)
committer
Chris Hofstaedtler
<chris@hofstaedtler.name>
Fri, 17 Nov 2023 15:25:08 +0000
(16:25 +0100)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
8f8e5ff
..
3e87597
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-101,20
+101,10
@@
chrootmirror() {
fi
fi
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
# add security.debian.org:
case "$RELEASE" in
- unstable|sid
|lenny
) ;; # no security pool available
-
squeeze|wheezy|
jessie|stretch|buster)
+ unstable|sid) ;; # no security pool available
+ jessie|stretch|buster)
echo "Adding security.debian.org to sources.list."
echo "deb http://security.debian.org ${RELEASE}/updates $COMPONENTS" >> /etc/apt/sources.list
;;
echo "Adding security.debian.org to sources.list."
echo "deb http://security.debian.org ${RELEASE}/updates $COMPONENTS" >> /etc/apt/sources.list
;;