mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	fix ubuntu eol releases (#764)
* fix ubuntu eol releases Signed-off-by: Basil K Y <techiebasil@gmail.com> * fix hash check when using MD5 --------- Signed-off-by: Basil K Y <techiebasil@gmail.com>
This commit is contained in:
		
							parent
							
								
									4e516f7455
								
							
						
					
					
						commit
						1ccfd8246c
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		
							
								
								
									
										8
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1774,11 +1774,11 @@ function get_ubuntu() { | |||
|     fi | ||||
| 
 | ||||
|     if wget -q --spider "${URL}/SHA256SUMS"; then | ||||
|         ISO=$(wget -q -O- "${URL}/SHA256SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | cut -d'*' -f2) | ||||
|         HASH=$(wget -q -O- "${URL}/SHA256SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso |cut -d' ' -f1) | ||||
|         ISO=$(wget -q -O- "${URL}/SHA256SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac" | cut -d'*' -f2 | sed '1q;d') | ||||
|         HASH=$(wget -q -O- "${URL}/SHA256SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac" | cut -d' ' -f1 | sed '1q;d') | ||||
|     else | ||||
|         ISO=$(wget -q -O- "${URL}/MD5SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | cut -d' ' -f3) | ||||
|         HASH=$(wget -q -O- "${URL}/MD5SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | cut -d' ' -f1) | ||||
|         ISO=$(wget -q -O- "${URL}/MD5SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac" | cut -d'*' -f2) | ||||
|         HASH=$(wget -q -O- "${URL}/MD5SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac" | cut -d' ' -f1) | ||||
|     fi | ||||
| 
 | ||||
|     if [[ "${RELEASE}" == *"daily"* ]] || [ "${RELEASE}" == "dvd" ]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue