aboutsummaryrefslogtreecommitdiff
blob: 9836ad7cce7f9376c51a2255d3cdc8c2f77a9f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
ARCHES=(amd64 x86 alpha arm hppa ia64 mips ppc s390 sh sparc)

echo -n 'Updating downloads...'

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
done

echo 'done.'