mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add EasyOS
This commit is contained in:
		
							parent
							
								
									c58e5c5b98
								
							
						
					
					
						commit
						708070739c
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										21
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										21
									
								
								quickget
									
										
									
									
									
								
							|  | @ -65,6 +65,7 @@ function pretty_name() { | ||||||
|     cachyos)            PRETTY_NAME="CachyOS";; |     cachyos)            PRETTY_NAME="CachyOS";; | ||||||
|     centos-stream)      PRETTY_NAME="CentOS Stream";; |     centos-stream)      PRETTY_NAME="CentOS Stream";; | ||||||
|     dragonflybsd)       PRETTY_NAME="DragonFlyBSD";; |     dragonflybsd)       PRETTY_NAME="DragonFlyBSD";; | ||||||
|  |     easyos)             PRETTY_NAME="EasyOS";; | ||||||
|     elementary)         PRETTY_NAME="elementary OS";; |     elementary)         PRETTY_NAME="elementary OS";; | ||||||
|     endeavouros)        PRETTY_NAME="EndeavourOS";; |     endeavouros)        PRETTY_NAME="EndeavourOS";; | ||||||
|     endless)            PRETTY_NAME="Endless OS";; |     endless)            PRETTY_NAME="Endless OS";; | ||||||
|  | @ -219,6 +220,7 @@ function os_support() { | ||||||
|     deepin \ |     deepin \ | ||||||
|     devuan \ |     devuan \ | ||||||
|     dragonflybsd \ |     dragonflybsd \ | ||||||
|  |     easyos \ | ||||||
|     edubuntu \ |     edubuntu \ | ||||||
|     elementary \ |     elementary \ | ||||||
|     endeavouros \ |     endeavouros \ | ||||||
|  | @ -304,6 +306,7 @@ function os_homepages(){ | ||||||
|         deepin)            HOMEPAGE="https://www.deepin.org/";; |         deepin)            HOMEPAGE="https://www.deepin.org/";; | ||||||
|         devuan)            HOMEPAGE="https://www.devuan.org/";; |         devuan)            HOMEPAGE="https://www.devuan.org/";; | ||||||
|         dragonflybsd)      HOMEPAGE="https://www.dragonflybsd.org/";; |         dragonflybsd)      HOMEPAGE="https://www.dragonflybsd.org/";; | ||||||
|  |         easyos)            HOMEPAGE="https://easyos.org/";; | ||||||
|         edubuntu)          HOMEPAGE="https://www.edubuntu.org/";; |         edubuntu)          HOMEPAGE="https://www.edubuntu.org/";; | ||||||
|         elementary)        HOMEPAGE="https://elementary.io/";; |         elementary)        HOMEPAGE="https://elementary.io/";; | ||||||
|         endeavouros)       HOMEPAGE="https://endeavouros.com/";; |         endeavouros)       HOMEPAGE="https://endeavouros.com/";; | ||||||
|  | @ -481,6 +484,15 @@ function releases_dragonflybsd() { | ||||||
|     echo $DBSD_RELEASES |     echo $DBSD_RELEASES | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_easyos() { | ||||||
|  |     #local RLIST | ||||||
|  |     #RLIST=$(curl -s https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/2023/ | grep 'href="' | tail +2 | cut -d'/' -f1 | cut -d'"' -f6) | ||||||
|  |     #RLIST=$(wget -q -O- 'https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/2023/' | grep 'href="' | tail +2 | cut -d'/' -f1 | cut -d'"' -f6) | ||||||
|  |     #echo ${RLIST} | ||||||
|  |     # Not dynamic for now | ||||||
|  |     echo 5.6.4 5.6.3 5.6.2 5.6.1 5.5.5 5.5.4 | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_elementary() { | function releases_elementary() { | ||||||
|     echo 7.0 7.1 |     echo 7.0 7.1 | ||||||
| } | } | ||||||
|  | @ -1405,6 +1417,15 @@ function get_dragonflybsd() { | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_easyos() { | ||||||
|  |     local HASH="" | ||||||
|  |     local URL="https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/2023/${RELEASE}" | ||||||
|  |     local ISO="easy-${RELEASE}-amd64.img" | ||||||
|  | 
 | ||||||
|  |     HASH=$(wget -q -O- "${URL}/md5.sum.txt" | cut  -d' ' -f1) | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_elementary() { | function get_elementary() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     case ${RELEASE} in |     case ${RELEASE} in | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue