forked from ungleich-public/cdist
		
	[__download] curl follow redirects
This commit is contained in:
		
					parent
					
						
							
								99b5dcd8f0
							
						
					
				
			
			
				commit
				
					
						93506d2113
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -6,7 +6,7 @@ then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
elif command -v curl > /dev/null
 | 
					elif command -v curl > /dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
    cmd="curl -o - '%s'"
 | 
					    cmd="curl -L -o - '%s'"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
elif command -v fetch > /dev/null
 | 
					elif command -v fetch > /dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,7 +25,7 @@ then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
elif command -v curl > /dev/null
 | 
					elif command -v curl > /dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
    cmd="curl -o - '%s'"
 | 
					    cmd="curl -L -o - '%s'"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
elif command -v fetch > /dev/null
 | 
					elif command -v fetch > /dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue