mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add CachyOS support
This commit is contained in:
		
							parent
							
								
									4080bf8048
								
							
						
					
					
						commit
						f8fe496df2
					
				
					 2 changed files with 34 additions and 1 deletions
				
			
		|  | @ -33,7 +33,7 @@ comprehensive support for macOS and Windows**. | ||||||
|   * [Ubuntu](https://ubuntu.com/desktop) and all the **[official Ubuntu flavours](https://ubuntu.com/download/flavours)** |   * [Ubuntu](https://ubuntu.com/desktop) and all the **[official Ubuntu flavours](https://ubuntu.com/download/flavours)** | ||||||
|   * [Fedora](https://getfedora.org/) & openSUSE ([Leap](https://get.opensuse.org/leap/), [Tumbleweed](https://get.opensuse.org/tumbleweed/), [MicroOS](https://microos.opensuse.org/)) |   * [Fedora](https://getfedora.org/) & openSUSE ([Leap](https://get.opensuse.org/leap/), [Tumbleweed](https://get.opensuse.org/tumbleweed/), [MicroOS](https://microos.opensuse.org/)) | ||||||
|   * [Linux Mint](https://linuxmint.com/) (Cinnamon, MATE, and XFCE), [elementary OS](https://elementary.io/), [Pop!_OS](https://pop.system76.com/) |   * [Linux Mint](https://linuxmint.com/) (Cinnamon, MATE, and XFCE), [elementary OS](https://elementary.io/), [Pop!_OS](https://pop.system76.com/) | ||||||
|   * [Arch Linux](https://www.archlinux.org/), [Kali](https://www.kali.org/),[Garuda](https://garudalinux.org/), [ZorinOS](https://zorin.com/os/) & [NixOS](https://nixos.org/) |   * [Arch Linux](https://www.archlinux.org/), [Kali](https://www.kali.org/), [Garuda](https://garudalinux.org/), [CachyOS](https://cachyos.org/), [ZorinOS](https://zorin.com/os/) & [NixOS](https://nixos.org/) | ||||||
|   * [Regolith Linux](https://regolith-linux.org/) (Release 1.6 and latest 2.0.0 pre-release  ) |   * [Regolith Linux](https://regolith-linux.org/) (Release 1.6 and latest 2.0.0 pre-release  ) | ||||||
|   * [FreeBSD](https://www.freebsd.org/) & [OpenBSD](https://www.openbsd.org/) |   * [FreeBSD](https://www.freebsd.org/) & [OpenBSD](https://www.openbsd.org/) | ||||||
|   * Full SPICE support including host/guest clipboard sharing |   * Full SPICE support including host/guest clipboard sharing | ||||||
|  | @ -177,6 +177,7 @@ preferred flavour. | ||||||
|   * `elementary` |   * `elementary` | ||||||
|   * `fedora` |   * `fedora` | ||||||
|   * `garuda` |   * `garuda` | ||||||
|  |   * `cachyos` | ||||||
|   * `kali` |   * `kali` | ||||||
|   * `linuxmint-cinnamon` |   * `linuxmint-cinnamon` | ||||||
|   * `linuxmint-mate` |   * `linuxmint-mate` | ||||||
|  |  | ||||||
							
								
								
									
										32
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										32
									
								
								quickget
									
										
									
									
									
								
							|  | @ -39,6 +39,7 @@ function pretty_name() { | ||||||
|     elementary)         PRETTY_NAME="elementary OS";; |     elementary)         PRETTY_NAME="elementary OS";; | ||||||
|     freebsd)            PRETTY_NAME="FreeBSD";; |     freebsd)            PRETTY_NAME="FreeBSD";; | ||||||
|     garuda)             PRETTY_NAME="Garuda Linux";; |     garuda)             PRETTY_NAME="Garuda Linux";; | ||||||
|  |     cachyos)            PRETTY_NAME="CachyOS";; | ||||||
|     kdeneon)            PRETTY_NAME="KDE Neon";; |     kdeneon)            PRETTY_NAME="KDE Neon";; | ||||||
|     linuxmint-cinnamon) PRETTY_NAME="Linux Mint Cinnamon";; |     linuxmint-cinnamon) PRETTY_NAME="Linux Mint Cinnamon";; | ||||||
|     linuxmint-mate)     PRETTY_NAME="Linux Mint MATE";; |     linuxmint-mate)     PRETTY_NAME="Linux Mint MATE";; | ||||||
|  | @ -126,6 +127,8 @@ function list_csv() { | ||||||
|         DOWNLOADER="${DL}" |         DOWNLOADER="${DL}" | ||||||
|       elif [ "${OS}" == "garuda" ]; then |       elif [ "${OS}" == "garuda" ]; then | ||||||
|         DOWNLOADER="${DL}" |         DOWNLOADER="${DL}" | ||||||
|  |       elif [ "${OS}" == "cachyos" ]; then | ||||||
|  |         DOWNLOADER="${DL}" | ||||||
|       elif [[ "${OS}" == *"kdeneon"* ]]; then |       elif [[ "${OS}" == *"kdeneon"* ]]; then | ||||||
|         DOWNLOADER="${DL}" |         DOWNLOADER="${DL}" | ||||||
|       else |       else | ||||||
|  | @ -155,6 +158,7 @@ function os_support() { | ||||||
|     freebsd \ |     freebsd \ | ||||||
|     fedora \ |     fedora \ | ||||||
|     garuda \ |     garuda \ | ||||||
|  |     cachyos \ | ||||||
|     kali \ |     kali \ | ||||||
|     kdeneon \ |     kdeneon \ | ||||||
|     kubuntu \ |     kubuntu \ | ||||||
|  | @ -229,6 +233,10 @@ function releases_garuda() { | ||||||
|     cinnamon |     cinnamon | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_cachyos() { | ||||||
|  |     echo 2021.11.10 | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_kali() { | function releases_kali() { | ||||||
|     echo latest \ |     echo latest \ | ||||||
|     weekly |     weekly | ||||||
|  | @ -680,6 +688,9 @@ function make_vm_config() { | ||||||
|     elif [ "${OS}" == "garuda" ]; then |     elif [ "${OS}" == "garuda" ]; then | ||||||
|         GUEST="linux" |         GUEST="linux" | ||||||
|         IMAGE_TYPE="iso" |         IMAGE_TYPE="iso" | ||||||
|  |     elif [ "${OS}" == "cachyos" ]; then | ||||||
|  |         GUEST="linux" | ||||||
|  |         IMAGE_TYPE="iso" | ||||||
|     elif [ "${OS}" == "kdeneon" ]; then |     elif [ "${OS}" == "kdeneon" ]; then | ||||||
|         GUEST="linux" |         GUEST="linux" | ||||||
|         IMAGE_TYPE="iso" |         IMAGE_TYPE="iso" | ||||||
|  | @ -740,6 +751,10 @@ EOF | ||||||
|             echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf" |             echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf" | ||||||
|         fi |         fi | ||||||
| 
 | 
 | ||||||
|  |         if [ "${OS}" == "cachyos"  ]; then | ||||||
|  |             echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" | ||||||
|  |         fi | ||||||
|  | 
 | ||||||
|         if [ "${OS}" == "garuda"  ]; then |         if [ "${OS}" == "garuda"  ]; then | ||||||
|             echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |             echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" | ||||||
|         fi |         fi | ||||||
|  | @ -810,6 +825,19 @@ function get_archlinux() { | ||||||
|     make_vm_config "${ISO}" |     make_vm_config "${ISO}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_cachyos() { | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="" | ||||||
|  |     local URL="" | ||||||
|  |     local VERSION="" | ||||||
|  | 
 | ||||||
|  |     validate_release "releases_cachyos" | ||||||
|  |     ISO="cachyos-cli-${RELEASE}-x86_64.iso" | ||||||
|  |     URL="https://deac-fra.dl.sourceforge.net/project/cachyos-arch/cli-installer" | ||||||
|  |     web_get "${URL}/${ISO}" "${VM_PATH}" | ||||||
|  |     make_vm_config "${ISO}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_elementary() { | function get_elementary() { | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local URL="" |     local URL="" | ||||||
|  | @ -1349,6 +1377,8 @@ if [ -n "${2}" ]; then | ||||||
|         get_fedora |         get_fedora | ||||||
|     elif [ "${OS}" == "garuda" ]; then |     elif [ "${OS}" == "garuda" ]; then | ||||||
|         get_garuda |         get_garuda | ||||||
|  |     elif [ "${OS}" == "cachyos" ]; then | ||||||
|  |         get_cachyos | ||||||
|     elif [ "${OS}" == "kali" ]; then |     elif [ "${OS}" == "kali" ]; then | ||||||
|         get_kali |         get_kali | ||||||
|     elif [ "${OS}" == "kdeneon" ]; then |     elif [ "${OS}" == "kdeneon" ]; then | ||||||
|  | @ -1434,6 +1464,8 @@ else | ||||||
|         releases_fedora |         releases_fedora | ||||||
|     elif [ "${OS}" == "garuda" ]; then |     elif [ "${OS}" == "garuda" ]; then | ||||||
|         releases_garuda |         releases_garuda | ||||||
|  |     elif [ "${OS}" == "cachyos" ]; then | ||||||
|  |         releases_cachyos | ||||||
|     elif [ "${OS}" == "kali" ]; then |     elif [ "${OS}" == "kali" ]; then | ||||||
|         releases_kali |         releases_kali | ||||||
|     elif [[ "${OS}" == *"linuxmint-"* ]]; then |     elif [[ "${OS}" == *"linuxmint-"* ]]; then | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue