mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add Debian netinst to the editions. Closes #381
This commit is contained in:
		
							parent
							
								
									19d62c45f2
								
							
						
					
					
						commit
						a2db7348a0
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		
							
								
								
									
										8
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								quickget
									
										
									
									
									
								
							|  | @ -242,7 +242,7 @@ function releases_debian() { | |||
| } | ||||
| 
 | ||||
| function editions_debian() { | ||||
|     echo standard cinnamon gnome kde lxde lxqt mate xfce | ||||
|     echo standard cinnamon gnome kde lxde lxqt mate xfce netinst | ||||
| } | ||||
| 
 | ||||
| function releases_devuan() { | ||||
|  | @ -757,6 +757,12 @@ function get_debian() { | |||
|       11.2.0) URL="https://cdimage.debian.org/debian-cd/${RELEASE}-live/amd64/iso-hybrid";; | ||||
|       *)      URL="https://cdimage.debian.org/cdimage/archive/${RELEASE}-live/amd64/iso-hybrid/";; | ||||
|     esac | ||||
| 
 | ||||
|     if [ "${EDITION}" == "netinst" ]; then | ||||
|         URL="$(echo "${URL}" | sed 's/-live//' | sed 's/hybrid/cd/')" | ||||
|         ISO="$(echo "${ISO}" | sed 's/-live//')" | ||||
|     fi | ||||
| 
 | ||||
|     HASH=$(wget -q -O- "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1) | ||||
|     echo "${URL}/${ISO} ${HASH}" | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue