mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_linuxmint() to add create_vm() compatibility
This commit is contained in:
		
							parent
							
								
									6ab206783b
								
							
						
					
					
						commit
						9073c5f280
					
				
					 1 changed files with 4 additions and 8 deletions
				
			
		
							
								
								
									
										12
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								quickget
									
										
									
									
									
								
							|  | @ -884,15 +884,11 @@ function get_kolibrios() { | |||
| function get_linuxmint() { | ||||
|     local EDITION="${1:-}" | ||||
|     local HASH="" | ||||
|     local ISO="" | ||||
|     local URL="" | ||||
|     local ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso" | ||||
|     local URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}" | ||||
| 
 | ||||
|     URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}" | ||||
|     ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso" | ||||
|     HASH=$(wget -q -O- "${URL}/${RELEASE}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1) | ||||
|     web_get "${URL}/${ISO}" "${VM_PATH}" | ||||
|     check_hash "${ISO}" "${HASH}" | ||||
|     make_vm_config "${ISO}" | ||||
|     HASH=$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1) | ||||
|     echo "${URL}/${ISO} ${HASH}" | ||||
| } | ||||
| 
 | ||||
| function get_macos() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue