diff options
author | Holger Paradies <retabell@gmx.de> | 2019-03-31 11:12:51 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2019-03-31 12:29:08 +0200 |
commit | ff0a0038c78ea459e0a8932f3304c4159d608a6a (patch) | |
tree | d4d0b179483e350fae5401483de8964d21cab3eb | |
parent | 11d325a915d5b24c58f1b9892c0d84a7bdae3ffc (diff) | |
download | kanotix-ff0a0038c78ea459e0a8932f3304c4159d608a6a.zip kanotix-ff0a0038c78ea459e0a8932f3304c4159d608a6a.tar.gz |
modify final sources.list to use archive
-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 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 |