mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor Rocky Linux support
Uses the minimal image only.
This commit is contained in:
		
							parent
							
								
									e0308b4957
								
							
						
					
					
						commit
						2dbbe869d0
					
				
					 1 changed files with 1 additions and 18 deletions
				
			
		
							
								
								
									
										19
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										19
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1136,9 +1136,6 @@ function get_rocky() { | |||
|     local URL="" | ||||
| 
 | ||||
|     validate_release "releases_rockylinux" | ||||
|     if [ -n "${1}" ]; then | ||||
|       ISOTYPE="${1}" | ||||
|     fi | ||||
|     URL="https://download.rockylinux.org/pub/rocky/${RELEASE}/isos/x86_64" | ||||
|     ISO="Rocky-${RELEASE}-x86_64-${ISOTYPE}.iso" | ||||
|     HASH=$(wget -q -O- "${URL}/CHECKSUM" | grep "SHA256" | grep "${ISO}" | cut -d' ' -f4) | ||||
|  | @ -1979,21 +1976,7 @@ if [ -n "${2}" ]; then | |||
|     elif  [ "${OS}" == "regolith" ]; then | ||||
|         get_regolith | ||||
|     elif [ "${OS}" == "rockylinux" ]; then | ||||
|         if [ -n "${3}" ]; then | ||||
|             ISOTYPE="${3}" | ||||
|             ISOTYPES=(minimal dvd1 boot) | ||||
|             if [[ ! ${ISOTYPES[*]} =~ ${ISOTYPE} ]]; then | ||||
|                 echo "iso ${ISOTYPE} is not supported:" | ||||
|                 for ISOTYPE in "${ISOTYPES[@]}"; do | ||||
|                   echo "${ISOTYPE}" | ||||
|                 done | ||||
|                 exit 1 | ||||
|             fi | ||||
|         else | ||||
|             ISOTYPE="dvd1" | ||||
|         fi | ||||
|         VM_PATH="${OS}-${RELEASE}-${ISOTYPE}" | ||||
|         get_rocky "${ISOTYPE}" | ||||
|         get_rocky | ||||
|     elif [ "${OS}" == "solus" ]; then | ||||
|         get_solus | ||||
|     elif [[ "${OS}" == "tails"* ]]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue