mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	add support for EndeavourOS (#449)
This commit is contained in:
		
							parent
							
								
									ace75eee9d
								
							
						
					
					
						commit
						582dd448fa
					
				
					 1 changed files with 18 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								quickget
									
										
									
									
									
								
							|  | @ -38,6 +38,7 @@ function pretty_name() { | ||||||
|     cachyos)            PRETTY_NAME="CachyOS";; |     cachyos)            PRETTY_NAME="CachyOS";; | ||||||
|     dragonflybsd)       PRETTY_NAME="DragonFlyBSD";; |     dragonflybsd)       PRETTY_NAME="DragonFlyBSD";; | ||||||
|     elementary)         PRETTY_NAME="elementary OS";; |     elementary)         PRETTY_NAME="elementary OS";; | ||||||
|  |     endeavouros)        PRETTY_NAME="EndeavourOS";; | ||||||
|     freebsd)            PRETTY_NAME="FreeBSD";; |     freebsd)            PRETTY_NAME="FreeBSD";; | ||||||
|     freedos)            PRETTY_NAME="FreeDOS";; |     freedos)            PRETTY_NAME="FreeDOS";; | ||||||
|     garuda)             PRETTY_NAME="Garuda Linux";; |     garuda)             PRETTY_NAME="Garuda Linux";; | ||||||
|  | @ -166,6 +167,7 @@ function os_support() { | ||||||
|     devuan \ |     devuan \ | ||||||
|     dragonflybsd \ |     dragonflybsd \ | ||||||
|     elementary \ |     elementary \ | ||||||
|  |     endeavouros \ | ||||||
|     fedora \ |     fedora \ | ||||||
|     freebsd \ |     freebsd \ | ||||||
|     freedos \ |     freedos \ | ||||||
|  | @ -261,6 +263,12 @@ function releases_elementary() { | ||||||
|     echo 6.1 |     echo 6.1 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_endeavouros() { | ||||||
|  |     echo apollo_22_1 \ | ||||||
|  |     atlantis-21_4 \ | ||||||
|  |     atlantis_neo-21_5 | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_fedora() { | function releases_fedora() { | ||||||
|     echo 33 34 35 |     echo 33 34 35 | ||||||
| } | } | ||||||
|  | @ -887,6 +895,16 @@ function get_elementary() { | ||||||
|     echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}" |     echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_endeavouros() { | ||||||
|  |     local HASH="" | ||||||
|  |     # Endeavour release names are Capitalized and our $RELEASE is forced to lowercase so we have to revert it | ||||||
|  |     local ISO="EndeavourOS_${RELEASE@u}.iso" | ||||||
|  |     local URL="https://github.com/endeavouros-team/ISO/releases/download/1-EndeavourOS-ISO-releases-archive" | ||||||
|  | 
 | ||||||
|  |     HASH=$(wget -q -O- "${URL}/${ISO}.sha512sum" | cut  -d' ' -f1) | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_fedora() { | function get_fedora() { | ||||||
|     local EDITION="${1:-}" |     local EDITION="${1:-}" | ||||||
|     local HASH="" |     local HASH="" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue