mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Update Garuda to Release: latest & get Editions from web site (#453)
This commit is contained in:
		
							parent
							
								
									582dd448fa
								
							
						
					
					
						commit
						68729159cb
					
				
					 1 changed files with 10 additions and 28 deletions
				
			
		
							
								
								
									
										38
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										38
									
								
								quickget
									
										
									
									
									
								
							|  | @ -303,23 +303,12 @@ function releases_freedos() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_garuda() { | function releases_garuda() { | ||||||
|     echo 220131 |   echo latest | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function editions_garuda() { | function editions_garuda() { | ||||||
|     echo dr460nized \ |   URL="https://mirrors.fossho.st/garuda/iso/latest/garuda/" | ||||||
|     dr460nized-blackarch \ |   echo $(wget -q -O - ${URL} | grep '^<a href' | sed -e 's/^.*="//' -e 's/\/.*//') | ||||||
|     dr460nized-gaming \ |  | ||||||
|     bspwm \ |  | ||||||
|     cinnamon \ |  | ||||||
|     gnome \ |  | ||||||
|     i3 \ |  | ||||||
|     kde-barebones \ |  | ||||||
|     lxqt-kwin \ |  | ||||||
|     mate \ |  | ||||||
|     qtile \ |  | ||||||
|     sway \ |  | ||||||
|     xfce |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_gentoo() { | function releases_gentoo() { | ||||||
|  | @ -954,22 +943,15 @@ function get_freedos() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_garuda() { | function get_garuda() { | ||||||
|     local EDITION="${1:-}" |   local EDITION="${1:-}" | ||||||
|     local HASH="" |   local HASH="" | ||||||
|     local ISO="" |   local ISO="" | ||||||
|     local URL="" |   local URL="https://mirrors.fossho.st/garuda/iso/latest/garuda/" | ||||||
| 
 | 
 | ||||||
|     case ${EDITION} in |   ISO=${EDITION}/latest.iso | ||||||
|       cinnamon|mate) URL="http://mirrors.fossho.st/garuda/iso/community/${EDITION}/${RELEASE}";; |  | ||||||
|       *) URL="http://mirrors.fossho.st/garuda/iso/garuda/${EDITION}/${RELEASE}";; |  | ||||||
|     esac |  | ||||||
|     case ${EDITION} in |  | ||||||
|         xfce|kde-barebones)  ISO="garuda-${EDITION}-linux-lts-${RELEASE}.iso";; |  | ||||||
|         *) ISO="garuda-${EDITION}-linux-zen-${RELEASE}.iso";; |  | ||||||
|     esac |  | ||||||
| 
 | 
 | ||||||
|     HASH="$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)" |   HASH="$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)" | ||||||
|     echo "${URL}/${ISO} ${HASH}" |   echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_gentoo() { | function get_gentoo() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue