mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Display available editions alongside releases
This commit is contained in:
		
							parent
							
								
									5ef7a85687
								
							
						
					
					
						commit
						5d7d9ec350
					
				
					 1 changed files with 14 additions and 4 deletions
				
			
		
							
								
								
									
										18
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1897,7 +1897,7 @@ if [ -n "${2}" ]; then | ||||||
|         validate_release releases_"${OS}" |         validate_release releases_"${OS}" | ||||||
|         get_"${OS}" "${EDITION}" |         get_"${OS}" "${EDITION}" | ||||||
|     elif [[ "${OS}" == *"ubuntu"* ]]; then |     elif [[ "${OS}" == *"ubuntu"* ]]; then | ||||||
|         validate_release releases_"${OS}" |         validate_release releases_ubuntu | ||||||
|         get_ubuntu |         get_ubuntu | ||||||
|     elif [ "${OS}" == "windows" ]; then |     elif [ "${OS}" == "windows" ]; then | ||||||
|         LANG="English International" |         LANG="English International" | ||||||
|  | @ -1918,10 +1918,20 @@ if [ -n "${2}" ]; then | ||||||
|         get_"${OS}" |         get_"${OS}" | ||||||
|     fi |     fi | ||||||
| else | else | ||||||
|     echo -n "ERROR! You must specify a release: " |     echo "ERROR! You must specify a release." | ||||||
|     case ${OS} in |     case ${OS} in | ||||||
|       *ubuntu*) releases_ubuntu;; |       *ubuntu*) | ||||||
|       *) releases_"${OS}";; |         echo -n " - Releases: " | ||||||
|  |         releases_ubuntu | ||||||
|  |         ;; | ||||||
|  |       *) | ||||||
|  |         echo -n " - Releases: " | ||||||
|  |         releases_"${OS}" | ||||||
|  |         if [[ $(type -t "editions_${OS}") == function ]]; then | ||||||
|  |           echo -n " - Editions: " | ||||||
|  |           editions_"${OS}" | ||||||
|  |         fi | ||||||
|  |         ;; | ||||||
|     esac |     esac | ||||||
|     exit 1 |     exit 1 | ||||||
| fi | fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue