mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	revert to default mirror (#350)
This commit is contained in:
		
							parent
							
								
									86068f039a
								
							
						
					
					
						commit
						ee2cb19bbf
					
				
					 1 changed files with 7 additions and 7 deletions
				
			
		
							
								
								
									
										14
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1173,8 +1173,8 @@ function get_void() { | ||||||
|     local HASH_URL="" |     local HASH_URL="" | ||||||
| 
 | 
 | ||||||
|     validate_release "releases_void" |     validate_release "releases_void" | ||||||
|     DATE=$(wget -q -O- "https://mirror.fit.cvut.cz/voidlinux/live/current/sha256sum.txt" | awk 'NR == 1' |cut -d'.' -f1| cut -d'-' -f4) |     DATE=$(wget -q -O- "https://alpha.de.repo.voidlinux.org/live/current/sha256sum.txt" | awk 'NR == 1' |cut -d'.' -f1| cut -d'-' -f4) | ||||||
|     URL="http://mirror.fit.cvut.cz/voidlinux/live/current" |     URL="https://alpha.de.repo.voidlinux.org/live/current" | ||||||
|     case ${RELEASE} in |     case ${RELEASE} in | ||||||
|       base) |       base) | ||||||
|         ISO="void-live-x86_64-${DATE}.iso";; |         ISO="void-live-x86_64-${DATE}.iso";; | ||||||
|  | @ -1187,13 +1187,13 @@ function get_void() { | ||||||
|     esac |     esac | ||||||
|     case ${RELEASE} in |     case ${RELEASE} in | ||||||
|       base) |       base) | ||||||
|         HASH="$(wget -q -O- "https://mirror.fit.cvut.cz/voidlinux/live/current/sha256sum.txt" | grep "void-live-x86_64-${DATE}.iso" | cut -d' ' -f4)";; |         HASH="$(wget -q -O- "https://alpha.de.repo.voidlinux.org/live/current/sha256sum.txt" | grep "void-live-x86_64-${DATE}.iso" | cut -d' ' -f4)";; | ||||||
|       musl) |       musl) | ||||||
|         HASH="$(wget -q -O- "https://mirror.fit.cvut.cz/voidlinux/live/current/sha256sum.txt" | grep "void-live-x86_64-musl-${DATE}.iso" | cut -d' ' -f4)";; |         HASH="$(wget -q -O- "https://alpha.de.repo.voidlinux.org/live/current/sha256sum.txt" | grep "void-live-x86_64-musl-${DATE}.iso" | cut -d' ' -f4)";; | ||||||
|       xfce) |       xfce) | ||||||
|         HASH="$(wget -q -O- "https://mirror.fit.cvut.cz/voidlinux/live/current/sha256sum.txt" | grep "void-live-x86_64-${DATE}-xfce.iso" | cut -d' ' -f4)";; |         HASH="$(wget -q -O- "https://alpha.de.repo.voidlinux.org/live/current/sha256sum.txt" | grep "void-live-x86_64-${DATE}-xfce.iso" | cut -d' ' -f4)";; | ||||||
|       xfce-musl) |       xfce-musl) | ||||||
|         HASH="$(wget -q -O- "https://mirror.fit.cvut.cz/voidlinux/live/current/sha256sum.txt" | grep "void-live-x86_64-musl-${DATE}.iso" | cut -d' ' -f4)";; |         HASH="$(wget -q -O- "https://alpha.de.repo.voidlinux.org/live/current/sha256sum.txt" | grep "void-live-x86_64-musl-${DATE}.iso" | cut -d' ' -f4)";; | ||||||
|     esac |     esac | ||||||
|     web_get "${URL}/${ISO}" "${VM_PATH}" |     web_get "${URL}/${ISO}" "${VM_PATH}" | ||||||
|     check_hash "${ISO}" "${HASH}" |     check_hash "${ISO}" "${HASH}" | ||||||
|  | @ -2229,4 +2229,4 @@ fi | ||||||
|       echo "Error: You must supply an OS!" |       echo "Error: You must supply an OS!" | ||||||
|       os_support |       os_support | ||||||
|       exit 1 |       exit 1 | ||||||
| fi | fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue