summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Schlüter <bschlueter@posteo.de>2018-02-21 10:59:03 +0100
committerBenjamin Schlüter <bschlueter@posteo.de>2018-02-21 10:59:03 +0100
commitf8df3b7eea45a110b8ff4b42ff52e00f172f5d4d (patch)
tree333c6c567bc35cf6745284c7f047223dba2853ac
parent92de46d3d1524badb5e929432b1fa9d2a0ae4aea (diff)
downloaditzks-install-script-f8df3b7eea45a110b8ff4b42ff52e00f172f5d4d.tar.gz
itzks-install-script-f8df3b7eea45a110b8ff4b42ff52e00f172f5d4d.tar.bz2
itzks-install-script-f8df3b7eea45a110b8ff4b42ff52e00f172f5d4d.zip
Add sed command to cut repository without release file.
-rwxr-xr-xinstall-itzks-workstation3
1 files changed, 3 insertions, 0 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 4e58c21..b9f59ee 100755
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -50,6 +50,9 @@ export ftp_proxy=http://webcache:3128
# We don't want to use Debian's old redirector service, but the new one...
sed -r -i /etc/apt/sources.list -e "s@http.debian.net@httpredir.debian.org@g"
+# We don't want to use the old repository without a release file
+sed -i 's/.*deb.debian.org.*//' /etc/apt/sources.list
+
# take out the hammer and drop all previous package lists.
find /var/lib/apt/lists/ -type f -delete