mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_haiku() to add create_vm() compatibility
This commit is contained in:
		
							parent
							
								
									c36463d85d
								
							
						
					
					
						commit
						723a185346
					
				
					 1 changed files with 3 additions and 7 deletions
				
			
		
							
								
								
									
										10
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								quickget
									
										
									
									
									
								
							|  | @ -846,16 +846,12 @@ function get_ghostbsd() { | ||||||
| 
 | 
 | ||||||
| function get_haiku() { | function get_haiku() { | ||||||
|     local EDITION="${1:-}" |     local EDITION="${1:-}" | ||||||
|     local ISO="" |     local ISO="haiku-${RELEASE}-${EDITION}-anyboot.iso" | ||||||
|     local URL="" |     local URL="https://cdn.haiku-os.org/haiku-release/${RELEASE}" | ||||||
|     local HASH="" |     local HASH="" | ||||||
| 
 | 
 | ||||||
|     URL="https://cdn.haiku-os.org/haiku-release/${RELEASE}" |  | ||||||
|     ISO="haiku-${RELEASE}-${EDITION}-anyboot.iso" |  | ||||||
|     HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) |     HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) | ||||||
|     web_get "${URL}/${ISO}" "${VM_PATH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
|     check_hash "${ISO}" "${HASH}" |  | ||||||
|     make_vm_config "${ISO}" |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_kali() { | function get_kali() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue