mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	List ubuntu-server releases and hide eol releases
This commit is contained in:
		
							parent
							
								
									d958ae1dbe
								
							
						
					
					
						commit
						c58e5c5b98
					
				
					 1 changed files with 8 additions and 6 deletions
				
			
		
							
								
								
									
										14
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								quickget
									
										
									
									
									
								
							|  | @ -165,15 +165,17 @@ function list_csv() { | |||
|   echo "Display Name,OS,Release,Option,Downloader,PNG,SVG" | ||||
|   for OS in $(os_support); do | ||||
|     DISPLAY_NAME="$(pretty_name "${OS}")" | ||||
|     if [[ "${OS}" == *"ubuntu"* ]]; then | ||||
|       FUNC="ubuntu" | ||||
|     else | ||||
|       FUNC="${OS}" | ||||
|     fi | ||||
|      | ||||
|     case ${OS} in | ||||
|       *ubuntu-server*) FUNC="ubuntu-server";; | ||||
|       *ubuntu*) FUNC="ubuntu";; | ||||
|       *) FUNC="${OS}";; | ||||
|     esac | ||||
| 
 | ||||
|     PNG="https://quickemu-project.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.png" | ||||
|     SVG="https://quickemu-project.github.io/quickemu-icons/svg/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg" | ||||
| 
 | ||||
|     for RELEASE in $("releases_${FUNC}"); do | ||||
|     for RELEASE in $("releases_${FUNC}" | sed -Ee 's/eol-\S+//g' ); do # hide eol releases | ||||
|       if [ "${OS}" == "macos" ]; then | ||||
|         DOWNLOADER="macrecovery" | ||||
|       elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ] && [ ${HAS_ZSYNC} -eq 1 ]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue