mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add Trisquel GNU Linux
This commit is contained in:
		
							parent
							
								
									b3846a549a
								
							
						
					
					
						commit
						834be37c86
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								quickget
									
										
									
									
									
								
							|  | @ -229,6 +229,7 @@ function os_support() { | ||||||
|     slackware \ |     slackware \ | ||||||
|     solus \ |     solus \ | ||||||
|     tails \ |     tails \ | ||||||
|  |     trisquel \ | ||||||
|     truenas-core \ |     truenas-core \ | ||||||
|     truenas-scale \ |     truenas-scale \ | ||||||
|     ubuntu \ |     ubuntu \ | ||||||
|  | @ -596,6 +597,14 @@ function releases_tails() { | ||||||
|     echo stable |     echo stable | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_trisquel() { | ||||||
|  |    echo 10.0.1 11.0 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | function editions_trisquel() { | ||||||
|  |     echo mate lxde kde sugar | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_truenas() { | function releases_truenas() { | ||||||
|   if [[ $OS == truenas ]] ; then |   if [[ $OS == truenas ]] ; then | ||||||
|     echo "ERROR! The supported TrueNAS OS values are truenas-core or truenas-scale" |     echo "ERROR! The supported TrueNAS OS values are truenas-core or truenas-scale" | ||||||
|  | @ -1739,6 +1748,22 @@ function get_tails() { | ||||||
|     echo "${URL} ${HASH}" |     echo "${URL} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_trisquel() { | ||||||
|  |     local EDITION="${1:-}" | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="" | ||||||
|  |     local URL="https://mirrors.ocf.berkeley.edu/trisquel-images" | ||||||
|  | 
 | ||||||
|  |     case ${EDITION} in | ||||||
|  |         mate)  ISO="trisquel_${RELEASE}_amd64.iso";; | ||||||
|  |         lxde)  ISO="trisquel-mini_${RELEASE}_amd64.iso";; | ||||||
|  |         kde)   ISO="triskel_${RELEASE}_amd64.iso";; | ||||||
|  |         sugar) ISO="trisquel-sugar_${RELEASE}_amd64.iso";; | ||||||
|  |     esac | ||||||
|  |     HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | grep "${ISO}" | cut -d' ' -f1) | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_truenas-scale() { | function get_truenas-scale() { | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local URL="" |     local URL="" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue