aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-02-05 21:40:51 +0100
committerAlex Legler <alex@a3li.li>2016-02-05 21:40:51 +0100
commit4979237918a2e2b9bb8a9040d9ca78a12ae49faf (patch)
tree9c1964f98005cec3dbaa5ded748c0122c416fe42 /bin/update-downloads.sh
parentinside-gentoo/contact: Rework "outdated content" (diff)
downloadwww-4979237918a2e2b9bb8a9040d9ca78a12ae49faf.tar.gz
www-4979237918a2e2b9bb8a9040d9ca78a12ae49faf.tar.bz2
www-4979237918a2e2b9bb8a9040d9ca78a12ae49faf.zip
downloads: Use new custom media name setup for AdminCDs
Diffstat (limited to 'bin/update-downloads.sh')
-rwxr-xr-xbin/update-downloads.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/update-downloads.sh b/bin/update-downloads.sh
index 2191f13..386de1f 100755
--- a/bin/update-downloads.sh
+++ b/bin/update-downloads.sh
@@ -8,11 +8,15 @@ for arch in "${ARCHES[@]}"; do
wget "http://distfiles.gentoo.org/releases/${arch}/autobuilds/latest-iso.txt" -O _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/${arch}/autobuilds/latest-stage3.txt" -O _data/downloads/${arch}/stage3.txt 2>/dev/null
- if [ ${arch} = "s390" ]; then
+ if [ ${arch} = "amd64" ]; then
+ wget "http://distfiles.gentoo.org/releases/amd64/autobuilds/latest-admincd-amd64.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
+ elif [ ${arch} = "s390" ]; then
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390-initramfs.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390-kernel.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390x-initramfs.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390x-kernel.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
+ elif [ ${arch} = "x86" ]; then
+ wget "http://distfiles.gentoo.org/releases/x86/autobuilds/latest-admincd-x86.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
fi
done