Tell curl to follow redirects

This commit is contained in:
Sam Stephenson 2012-11-14 20:33:00 -06:00
parent 894abadb50
commit 5d2e43600d

View file

@ -167,7 +167,7 @@ verify_checksum() {
retrieve_url() {
if type curl &>/dev/null; then
curl -f "$@"
curl -Lf "$@"
elif type wget &>/dev/null; then
wget -O- "$@"
else