Skip to content

Commit

Permalink
Use wget only for retrieving the stage3 tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
miniBill committed Jul 10, 2016
1 parent 28cfd46 commit ed5d793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/gentoo/templates/get_stage.sh
@@ -1,6 +1,6 @@
#!/bin/bash
latest="http://distfiles.gentoo.org/releases/amd64/autobuilds/latest-stage3.txt"
stage3_path=$(curl $latest 2>&1 \
stage3_path=$(wget -O- $latest 2>&1 \
| awk '/\/stage3-amd64-[0-9]+.tar.bz2/{print $1}')

wget {{ mirror }}/releases/amd64/autobuilds/$stage3_path -O \
Expand Down

0 comments on commit ed5d793

Please sign in to comment.