summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2019-03-31 11:12:51 +0200
committerHolger Paradies <retabell@gmx.de>2019-03-31 12:29:08 +0200
commitff0a0038c78ea459e0a8932f3304c4159d608a6a (patch)
treed4d0b179483e350fae5401483de8964d21cab3eb /config/chroot_local-hooks
parent11d325a915d5b24c58f1b9892c0d84a7bdae3ffc (diff)
downloadkanotix-ff0a0038c78ea459e0a8932f3304c4159d608a6a.zip
kanotix-ff0a0038c78ea459e0a8932f3304c4159d608a6a.tar.gz
modify final sources.list to use archive
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/00-sources.list5
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