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