From ff0a0038c78ea459e0a8932f3304c4159d608a6a Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sun, 31 Mar 2019 11:12:51 +0200 Subject: modify final sources.list to use archive --- config/chroot_local-hooks/00-sources.list | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/chroot_local-hooks/00-sources.list b/config/chroot_local-hooks/00-sources.list index e3affbd..88be772 100755 --- a/config/chroot_local-hooks/00-sources.list +++ b/config/chroot_local-hooks/00-sources.list @@ -16,3 +16,8 @@ if [ -f /etc/apt/sources.list.d/skype-stable.list ]; then fi sed -i -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list + +# 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 +fi -- cgit v1.0