diff options
author | Benjamin Schlüter <bschlueter@posteo.de> | 2018-02-21 10:59:03 +0100 |
---|---|---|
committer | Benjamin Schlüter <bschlueter@posteo.de> | 2018-02-21 10:59:03 +0100 |
commit | f8df3b7eea45a110b8ff4b42ff52e00f172f5d4d (patch) | |
tree | 333c6c567bc35cf6745284c7f047223dba2853ac | |
parent | 92de46d3d1524badb5e929432b1fa9d2a0ae4aea (diff) | |
download | itzks-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-x | install-itzks-workstation | 3 |
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 |