Switch from httpredir.d.o to deb.d.o

The apt mirror redirector was replaced by the apt CDN service.
parent a4f2f7da
......@@ -3,7 +3,7 @@ set -e
mkdir -p /srv/wiki.debian.org/var/apt
cd /srv/wiki.debian.org/var/apt
for release in oldoldstable oldstable stable testing unstable experimental ; do
wget -qO $release.tmp http://httpredir.debian.org/debian/dists/$release/Release || continue
wget -qO $release.tmp http://deb.debian.org/debian/dists/$release/Release || continue
sed -n 's/^Date: //p' $release.tmp | date --file=- +%F > $release.date.tmp
sed -n 's/^Version: //p' $release.tmp > $release.version.tmp
sed -n 's/^Codename: //p' $release.tmp > $release.codename.tmp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment