Follow redirects when downloading with curl

This commit is contained in:
Bruno Tavares 2014-03-17 15:09:11 -03:00
parent 3382c92952
commit b5d257793f

View File

@ -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