mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Fix hash checking to jumping Ubuntu devel series. Close #151
This commit is contained in:
		
							parent
							
								
									330c238792
								
							
						
					
					
						commit
						7d9a38cf33
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		
							
								
								
									
										5
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickget
									
										
									
									
									
								
							|  | @ -796,9 +796,8 @@ function get_ubuntu() { | |||
|         URL="http://cdimage.ubuntu.com/${PROJECT}/releases/${RELEASE}/release" | ||||
|     fi | ||||
| 
 | ||||
|     web_get "${URL}/SHA256SUMS" "${VM_PATH}" | ||||
|     ISO=$(grep 'desktop\|dvd' "${VM_PATH}/SHA256SUMS" | grep amd64 | cut -d' ' -f2 | sed 's|*||g') | ||||
|     HASH=$(cat "${VM_PATH}/SHA256SUMS" | cut -d' ' -f1) | ||||
|     HASH=$(wget -q -O- "${URL}/SHA256SUMS" | cut -d' ' -f1) | ||||
|     ISO=$(wget -q -O- "${URL}/SHA256SUMS" | grep 'desktop\|dvd' | grep amd64 | cut -d' ' -f2 | sed 's|*||g') | ||||
|     if [ "${RELEASE}" == "devel" ]; then | ||||
|         zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-${RELEASE}.iso" | ||||
|         make_vm_config "${OS}-${RELEASE}.iso" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue