mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Workaround zsync http-only failures (#396)
* trying to keep up... re-generating * revert README.md to upstream for noise-suppression * regenerated Readme for 3.13 * Fix for zsync https failure
This commit is contained in:
		
							parent
							
								
									fb771265f1
								
							
						
					
					
						commit
						03c5b9fc52
					
				
					 2 changed files with 25 additions and 26 deletions
				
			
		
							
								
								
									
										5
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickget
									
										
									
									
									
								
							|  | @ -625,8 +625,9 @@ function zsync_get() { | |||
|           exit 1 | ||||
|         fi | ||||
| 
 | ||||
|         if ! zsync "${URL}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then | ||||
|             echo "ERROR! Failed to download ${URL}.zsync" | ||||
|         # Only force http for zsync - not earlier because we might fall through here | ||||
|         if ! zsync "${URL/https/http}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then | ||||
|             echo "ERROR! Failed to download ${URL/https/http}.zsync" | ||||
|             exit 1 | ||||
|         fi | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue