diff options
author | 2016-01-31 01:49:48 +0100 | |
---|---|---|
committer | 2016-01-31 01:49:48 +0100 | |
commit | 213108f9e46766379a262747723072f9021c622c (patch) | |
tree | 3a588d06b58efbddc304be28b6ca55e8e0399b11 /bin | |
parent | Cleanup downloads (diff) | |
download | www-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-x | bin/update-downloads.sh | 9 |
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.' |