Fix wget.

This commit is contained in:
Alexis Lahouze 2018-11-26 22:37:28 +01:00
parent b5a7340231
commit d6d6139d35

View File

@ -13,11 +13,14 @@ STAGE3_TAG=$(wget -q -O - \
| grep -v "^#" | cut -d ' ' -f 1) | grep -v "^#" | cut -d ' ' -f 1)
# Download latest stable stage3 build # Download latest stable stage3 build
wget -N -O /var/lib/catalyst/store/builds/stage3-amd64-latest.tar.xz \ wget -q -N -P /var/lib/catalyst/store/builds/ \
http://distfiles.gentoo.org/releases/amd64/autobuilds/${STAGE3_TAG} http://distfiles.gentoo.org/releases/amd64/autobuilds/${STAGE3_TAG}
ln -sf /var/lib/catalyst/store/builds/$(basename ${STAGE3_TAG}) \
/var/lib/catalyst/store/builds/stage3-amd64-latest.tar.xz
# Download latest portage snapshot # Download latest portage snapshot
wget -N -O /var/lib/catalyst/store/snapshots/portage-latest.tar.bz2 \ wget -q -N -P /var/lib/catalyst/store/snapshots/ \
https://gentoo.osuosl.org/releases/snapshots/current/portage-latest.tar.bz2 https://gentoo.osuosl.org/releases/snapshots/current/portage-latest.tar.bz2
# Update stage3 snapshot # Update stage3 snapshot