diff options
author | Holger Paradies <retabell@gmx.de> | 2021-03-27 21:39:18 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2021-03-27 23:13:33 +0100 |
commit | a2d9c6ce17dab51d6e83f08b1d42f5b228ad8413 (patch) | |
tree | f9d74e75a7ea3e1f570c112591bfd3f3fbcfcae0 /config/chroot_local-hooks | |
parent | a4bd60b2064d9d5c9a58c3c534c4773b35a46a8c (diff) | |
download | kanotix-a2d9c6ce17dab51d6e83f08b1d42f5b228ad8413.zip kanotix-a2d9c6ce17dab51d6e83f08b1d42f5b228ad8413.tar.gz |
Sources.list bullseye enable security
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-x | config/chroot_local-hooks/00-sources.list | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/00-sources.list b/config/chroot_local-hooks/00-sources.list index 88be772..880e38a 100755 --- a/config/chroot_local-hooks/00-sources.list +++ b/config/chroot_local-hooks/00-sources.list @@ -17,6 +17,11 @@ fi sed -i -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list +# old names +case "${LB_DISTRIBUTION}" in + wheezy|jessie|stretch|buster) sed -i -e "s|-security||g" /etc/apt/sources.list ;; +esac + # fix for archive if [ "$LB_DISTRIBUTION" = "wheezy" ]; then sed -i -e "s|ftp.de.debian.org/debian wheezy|archive.debian.org/debian wheezy|g" /etc/apt/sources.list |