aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-01-31 01:49:48 +0100
committerAlex Legler <alex@a3li.li>2016-01-31 01:49:48 +0100
commit213108f9e46766379a262747723072f9021c622c (patch)
tree3a588d06b58efbddc304be28b6ca55e8e0399b11 /bin
parentCleanup downloads (diff)
downloadwww-213108f9e46766379a262747723072f9021c622c.tar.gz
www-213108f9e46766379a262747723072f9021c622c.tar.bz2
www-213108f9e46766379a262747723072f9021c622c.zip
Adapt downloads to arches who need to do their own thing
*sigh*
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-downloads.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/update-downloads.sh b/bin/update-downloads.sh
index 9836ad7..2191f13 100755
--- a/bin/update-downloads.sh
+++ b/bin/update-downloads.sh
@@ -7,6 +7,13 @@ for arch in "${ARCHES[@]}"; do
mkdir -p _data/downloads/${arch}/
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
+ 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
+ fi
done
-echo 'done.' \ No newline at end of file
+echo 'done.'