mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add Porteus
This commit is contained in:
		
							parent
							
								
									1b3c113f8d
								
							
						
					
					
						commit
						ad0f1f2d3d
					
				
					 1 changed files with 22 additions and 0 deletions
				
			
		
							
								
								
									
										22
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										22
									
								
								quickget
									
										
									
									
									
								
							|  | @ -228,6 +228,7 @@ function os_support() { | ||||||
|     oraclelinux \ |     oraclelinux \ | ||||||
|     peppermint \ |     peppermint \ | ||||||
|     popos \ |     popos \ | ||||||
|  |     porteus \ | ||||||
|     reactos \ |     reactos \ | ||||||
|     rebornos \ |     rebornos \ | ||||||
|     rockylinux \ |     rockylinux \ | ||||||
|  | @ -582,6 +583,14 @@ function editions_popos() { | ||||||
|     echo intel nvidia |     echo intel nvidia | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_porteus() { | ||||||
|  |     echo 5.0 5.01 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | function editions_porteus() { | ||||||
|  |     echo cinnamon gnome kde lxde lxqt mate openbox xfce | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_reactos() { | function releases_reactos() { | ||||||
|     echo latest |     echo latest | ||||||
| } | } | ||||||
|  | @ -1781,6 +1790,19 @@ function get_popos() { | ||||||
|     echo "${URL} ${HASH}" |     echo "${URL} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_porteus() { | ||||||
|  |     local EDITION="${1:-}" | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="" | ||||||
|  |     local URL="" | ||||||
|  | 
 | ||||||
|  |     edition="${EDITION~~}" | ||||||
|  |     ISO="Porteus-${edition}-v${RELEASE}-x86_64.iso" | ||||||
|  |     URL="https://mirrors.dotsrc.org/porteus/x86_64/Porteus-v${RELEASE}" | ||||||
|  |     HASH=$(wget -q -O- "${URL}/sha256sums.txt" | grep "${ISO}" | cut -d' ' -f1) | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_reactos() { | function get_reactos() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local URL="" |     local URL="" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue