mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_regolith()
This commit is contained in:
		
							parent
							
								
									652eaba6b0
								
							
						
					
					
						commit
						ea509ac5e0
					
				
					 1 changed files with 9 additions and 10 deletions
				
			
		
							
								
								
									
										19
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										19
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1307,23 +1307,22 @@ function get_popos() { | ||||||
| function get_regolith() { | function get_regolith() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local URL="" |     local URL="https://github.com/regolith-linux/regolith-ubuntu-iso-builder/releases/download" | ||||||
|     local GHDL="https://github.com/regolith-linux/regolith-ubuntu-iso-builder/releases/download/" |  | ||||||
| 
 | 
 | ||||||
|     validate_release "releases_regolith" |     validate_release "releases_regolith" | ||||||
| 
 |  | ||||||
|     URL="${GHDL}" |  | ||||||
|     case ${RELEASE} in |     case ${RELEASE} in | ||||||
|       1.6.0_focal) |       1.6.0_focal) | ||||||
|         URL="${URL}release-release-focal-focal_standard-1.6.0" |         URL="${URL}/release-release-focal-focal_standard-1.6.0" | ||||||
|         HASH=$(wget -q -O- "${URL}/SHA256SUMS" | cut -d' ' -f1);; |         HASH=$(wget -q -O- "${URL}/SHA256SUMS" | cut -d' ' -f1) | ||||||
|  |         ;; | ||||||
|       1.6.0_hirsute) |       1.6.0_hirsute) | ||||||
|         URL="${URL}release-release-hirsute-hirsute_standard-1.6.0" |         URL="${URL}/release-release-hirsute-hirsute_standard-1.6.0" | ||||||
|         HASH=$(wget -q -O- "${URL}/SHA256SUMS" | cut -d' ' -f1);; |         HASH=$(wget -q -O- "${URL}/SHA256SUMS" | cut -d' ' -f1) | ||||||
|  |         ;; | ||||||
|       2.0.0_impish) |       2.0.0_impish) | ||||||
|         URL="${URL}regolith-linux-2.0-impish-latest";; |         URL="${URL}/regolith-linux-2.0-impish-latest";; | ||||||
|       2.0.0_hirsute) |       2.0.0_hirsute) | ||||||
|         URL="${URL}regolith-linux-2.0-hirsute-latest";; |         URL="${URL}/regolith-linux-2.0-hirsute-latest";; | ||||||
|     esac |     esac | ||||||
|     ISO="Regolith_${RELEASE}.iso" |     ISO="Regolith_${RELEASE}.iso" | ||||||
|     web_get "${URL}/${ISO}" "${VM_PATH}" |     web_get "${URL}/${ISO}" "${VM_PATH}" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue