mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	fix for dynamically selecting debian releases (#547)
* fix for dynamically selecting debian releases * MX 21.2 released * devuan chimaera 4.0.2 released * deepin releases 20.6 and 20.7 added * fix for dynamically selecting debian releases
This commit is contained in:
		
							parent
							
								
									dc86cd6098
								
							
						
					
					
						commit
						c4565b77f9
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		
							
								
								
									
										10
									
								
								quickget
									
										
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										10
									
								
								quickget
									
										
									
									
									
										
										
										Executable file → Normal file
									
								
							|  | @ -261,7 +261,10 @@ function editions_centos-stream() { | |||
| } | ||||
| 
 | ||||
| function releases_debian() { | ||||
|     echo 10.11.0 10.12.0 10.13.0 11.2.0 11.3.0 11.4.0 11.5.0 | ||||
|     DEBCURRENT=$(wget -q https://cdimage.debian.org/debian-cd/ -O- |grep '\.[0-9]/'|cut -d\> -f9|cut -d\/ -f1) | ||||
|     local DEBOLD=$(wget -q https://cdimage.debian.org/cdimage/archive/ -O- |grep -e '>[1-9][0-9]\.'|grep -v 'live' | cut -d\> -f9|cut -d\/ -f1 ) | ||||
| 
 | ||||
|     echo  ${DEBOLD} ${DEBCURRENT} | ||||
| } | ||||
| 
 | ||||
| function editions_debian() { | ||||
|  | @ -928,8 +931,9 @@ function get_debian() { | |||
|     local ISO="debian-live-${RELEASE}-amd64-${EDITION}.iso" | ||||
|     local URL="" | ||||
| 
 | ||||
|     case ${RELEASE} in | ||||
|       11.5.0) URL="https://cdimage.debian.org/debian-cd/${RELEASE}-live/amd64/iso-hybrid";; | ||||
|     DEBCURRENT=$(wget -q https://cdimage.debian.org/debian-cd/ -O- |grep '\.[0-9]/'|cut -d\> -f9|cut -d\/ -f1) | ||||
|    case ${RELEASE} in | ||||
|       "${DEBCURRENT}") 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 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue