mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_popos() to add create_vm() compatibility
This commit is contained in:
		
							parent
							
								
									c553e404c9
								
							
						
					
					
						commit
						1310daeeaa
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		
							
								
								
									
										6
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1065,13 +1065,9 @@ function get_popos() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local URL="" |     local URL="" | ||||||
| 
 |  | ||||||
|     URL=$(wget -q -O- "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .url) |     URL=$(wget -q -O- "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .url) | ||||||
|     ISO="${URL##*/}" |  | ||||||
|     HASH=$(wget -q -O- "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .sha_sum) |     HASH=$(wget -q -O- "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .sha_sum) | ||||||
|     web_get "${URL}" "${VM_PATH}" |     echo "${URL} ${HASH}" | ||||||
|     check_hash "${ISO}" "${HASH}" |  | ||||||
|     make_vm_config "${ISO}" |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_regolith() { | function get_regolith() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue