Follow redirects when downloading with curl
This commit is contained in:
parent
3382c92952
commit
b5d257793f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user