Follow redirects when downloading with curl
This commit is contained in:
@ -5,7 +5,7 @@ kickstart.download.file() {
|
||||
kickstart.download.stream() {
|
||||
kickstart.info "Downloading $1"
|
||||
if [ `which curl` ]; then
|
||||
curl -s $1
|
||||
curl -Ls $1
|
||||
elif [ `which wget` ]; then
|
||||
wget -qO - $1
|
||||
else
|
||||
|
Reference in New Issue
Block a user