mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Clean up list_csv()
This commit is contained in:
		
							parent
							
								
									28b48c7b8e
								
							
						
					
					
						commit
						7e397ced4e
					
				
					 1 changed files with 1 additions and 8 deletions
				
			
		
							
								
								
									
										9
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								quickget
									
										
									
									
									
								
							|  | @ -104,7 +104,7 @@ function list_csv() { | ||||||
| 
 | 
 | ||||||
| # check if we have a zsync installed somewhere | # check if we have a zsync installed somewhere | ||||||
|   ZS="$(which zsync)" |   ZS="$(which zsync)" | ||||||
|   if  [ -x "${ZS}" ]; then |   if [ -x "${ZS}" ]; then | ||||||
|     DL="zsync" |     DL="zsync" | ||||||
|   else |   else | ||||||
|     DL="wget" |     DL="wget" | ||||||
|  | @ -122,7 +122,6 @@ function list_csv() { | ||||||
|     PNG="https://quickemu-project.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.png" |     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" |     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}"); do | ||||||
|       if [ "${OS}" == "macos" ]; then |       if [ "${OS}" == "macos" ]; then | ||||||
|         DOWNLOADER="macrecovery" |         DOWNLOADER="macrecovery" | ||||||
|  | @ -130,12 +129,6 @@ function list_csv() { | ||||||
|         DOWNLOADER="${DL}" |         DOWNLOADER="${DL}" | ||||||
|       elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ]; then |       elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ]; then | ||||||
|         DOWNLOADER="${DL}" |         DOWNLOADER="${DL}" | ||||||
|       elif [ "${OS}" == "cachyos" ]; then |  | ||||||
|         DOWNLOADER="${DL}" |  | ||||||
|       elif [ "${OS}" == "garuda" ]; then |  | ||||||
|         DOWNLOADER="${DL}" |  | ||||||
|       elif [ "${OS}" == "gentoo" ]; then |  | ||||||
|         DOWNLOADER="${DL}" |  | ||||||
|       else |       else | ||||||
|         DOWNLOADER="wget" |         DOWNLOADER="wget" | ||||||
|       fi |       fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue