mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Force IPv4 on android mirror
This commit is contained in:
		
							parent
							
								
									309057f984
								
							
						
					
					
						commit
						1522e4b1a4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								quickget
									
										
									
									
									
								
							|  | @ -845,8 +845,8 @@ function get_android() { | ||||||
|     ISO=$(echo "${JSON_REL}" | jq -r .n) |     ISO=$(echo "${JSON_REL}" | jq -r .n) | ||||||
|     HASH=$(echo "${JSON_REL}" | jq -r .hash.sha256) |     HASH=$(echo "${JSON_REL}" | jq -r .hash.sha256) | ||||||
|     # Traverse the directories to find the .iso location |     # Traverse the directories to find the .iso location | ||||||
|     for DIR in $(wget -q -O- "${URL}" | grep -o -E '[0-9]{5}' | sort -ur); do |     for DIR in $(wget -4 -q -O- "${URL}" | grep -o -E '[0-9]{5}' | sort -ur); do | ||||||
|         if wget -q -O- "${URL}/${DIR}" | grep "${ISO}" &>/dev/null; then |         if wget -4 -q -O- "${URL}/${DIR}" | grep "${ISO}" &>/dev/null; then | ||||||
|             URL="${URL}/${DIR}" |             URL="${URL}/${DIR}" | ||||||
|             break |             break | ||||||
|         fi |         fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue