mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	quickget: update
This commit is contained in:
		
							parent
							
								
									d3725329d7
								
							
						
					
					
						commit
						638bb2898d
					
				
					 1 changed files with 244 additions and 205 deletions
				
			
		
							
								
								
									
										433
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										433
									
								
								quickget
									
										
									
									
									
								
							|  | @ -37,10 +37,14 @@ function pretty_name() { | ||||||
|     archlinux)          PRETTY_NAME="Arch Linux";; |     archlinux)          PRETTY_NAME="Arch Linux";; | ||||||
|     archcraft)          PRETTY_NAME="Archcraft";; |     archcraft)          PRETTY_NAME="Archcraft";; | ||||||
|     arcolinux)          PRETTY_NAME="Arco Linux";; |     arcolinux)          PRETTY_NAME="Arco Linux";; | ||||||
|  |     atheanos)           PRETTY_NAME="Athena OS";; | ||||||
|  |     biglinux)           PRETTY_NAME="BigLinux";; | ||||||
|     blendos)            PRETTY_NAME="BlendOS";; |     blendos)            PRETTY_NAME="BlendOS";; | ||||||
|  |     bodhi)              PRETTY_NAME="Bodhi Linux";; | ||||||
|     cachyos)            PRETTY_NAME="CachyOS";; |     cachyos)            PRETTY_NAME="CachyOS";; | ||||||
|     centos-stream)      PRETTY_NAME="CentOS Stream";; |     centos-stream)      PRETTY_NAME="CentOS Stream";; | ||||||
|     cereus)             PRETTY_NAME="Cereus Linux";; |     cereus)             PRETTY_NAME="Cereus Linux";; | ||||||
|  |     devuan)             PRETTY_NAME="Devuan";; | ||||||
|     dietpi)             PRETTY_NAME="DietPi";; |     dietpi)             PRETTY_NAME="DietPi";; | ||||||
|     dragonflybsd)       PRETTY_NAME="DragonFlyBSD";; |     dragonflybsd)       PRETTY_NAME="DragonFlyBSD";; | ||||||
|     elementary)         PRETTY_NAME="elementary OS";; |     elementary)         PRETTY_NAME="elementary OS";; | ||||||
|  | @ -52,7 +56,7 @@ function pretty_name() { | ||||||
|     gabeeos)            PRETTY_NAME="gabeeOS Linux";; |     gabeeos)            PRETTY_NAME="gabeeOS Linux";; | ||||||
|     garuda)             PRETTY_NAME="Garuda Linux";; |     garuda)             PRETTY_NAME="Garuda Linux";; | ||||||
|     ghostbsd)           PRETTY_NAME="GhostBSD";; |     ghostbsd)           PRETTY_NAME="GhostBSD";; | ||||||
|     holoiso)            PRETTY_NAME="HoloISO";; |     holoiso)            PRETTY_NAME="Steam OS HoloISO";; | ||||||
|     kdeneon)            PRETTY_NAME="KDE Neon";; |     kdeneon)            PRETTY_NAME="KDE Neon";; | ||||||
|     kolibrios)          PRETTY_NAME="KolibriOS";; |     kolibrios)          PRETTY_NAME="KolibriOS";; | ||||||
|     linuxmint)          PRETTY_NAME="Linux Mint";; |     linuxmint)          PRETTY_NAME="Linux Mint";; | ||||||
|  | @ -75,6 +79,7 @@ function pretty_name() { | ||||||
|     slitaz)             PRETTY_NAME="SliTaz GNU/Linux";; |     slitaz)             PRETTY_NAME="SliTaz GNU/Linux";; | ||||||
|     truenas-core)       PRETTY_NAME="TrueNAS Core";; |     truenas-core)       PRETTY_NAME="TrueNAS Core";; | ||||||
|     truenas-scale)      PRETTY_NAME="TrueNAS Scale";; |     truenas-scale)      PRETTY_NAME="TrueNAS Scale";; | ||||||
|  |     tuxedoos)           PRETTY_NAME="TuxedoOS";; | ||||||
|     ubuntu-budgie)      PRETTY_NAME="Ubuntu Budgie";; |     ubuntu-budgie)      PRETTY_NAME="Ubuntu Budgie";; | ||||||
|     ubuntucinnamon)     PRETTY_NAME="Ubuntu Cinnamon";; |     ubuntucinnamon)     PRETTY_NAME="Ubuntu Cinnamon";; | ||||||
|     ubuntukylin)        PRETTY_NAME="Ubuntu Kylin";; |     ubuntukylin)        PRETTY_NAME="Ubuntu Kylin";; | ||||||
|  | @ -192,8 +197,11 @@ function os_support() { | ||||||
|     archlinux \ |     archlinux \ | ||||||
|     archcraft \ |     archcraft \ | ||||||
|     arcolinux \ |     arcolinux \ | ||||||
|  |     athenaos \ | ||||||
|     batocera \ |     batocera \ | ||||||
|  |     biglinux \ | ||||||
|     blendos \ |     blendos \ | ||||||
|  |     bodhi \ | ||||||
|     cachyos \ |     cachyos \ | ||||||
|     centos-stream \ |     centos-stream \ | ||||||
|     cereus \ |     cereus \ | ||||||
|  | @ -245,6 +253,7 @@ function os_support() { | ||||||
|     tails \ |     tails \ | ||||||
|     truenas-core \ |     truenas-core \ | ||||||
|     truenas-scale \ |     truenas-scale \ | ||||||
|  |     tuxedoos \ | ||||||
|     ubuntu \ |     ubuntu \ | ||||||
|     ubuntu-budgie \ |     ubuntu-budgie \ | ||||||
|     ubuntucinnamon \ |     ubuntucinnamon \ | ||||||
|  | @ -269,7 +278,7 @@ function releases_agarimos() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function editions_agarimos() { | function editions_agarimos() { | ||||||
|     echo plasma gnome xfce |     echo plasma xfce lxqt gnome | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_alma() { | function releases_alma() { | ||||||
|  | @ -292,29 +301,42 @@ function editions_android() { | ||||||
|     echo x86 x86_64 |     echo x86 x86_64 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_archlinux() { |  | ||||||
|     echo latest |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function releases_archcraft() { | function releases_archcraft() { | ||||||
|     echo latest |     echo latest | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_archlinux() { | ||||||
|  |     echo latest | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_arcolinux() { | function releases_arcolinux() { | ||||||
|     echo v21.09.11 v21.11.05 v22.01.10 |     local RLIST | ||||||
|  |     RLIST=$(curl -s https://ant.seedhost.eu/arcolinux/iso/ | grep -o -E ">v[[:digit:]]{2}.[[:digit:]]{2}.[[:digit:]]{2}" | sed -e "s/>//" | tr '\r\n' ' ') | ||||||
|  |     echo ${RLIST} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function editions_arcolinux() { | function editions_arcolinux() { | ||||||
|     echo large small |     echo large small | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_athenaos() { | ||||||
|  |     echo 23.06.23 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| function releases_batocera() { | function releases_batocera() { | ||||||
|   echo 32 33 34 |   echo 32 33 34 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_biglinux() { | ||||||
|  |     echo kde | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_blendos() { | function releases_blendos() { | ||||||
|  |     # Pull the rss feed | ||||||
|  |     wget -q https://sourceforge.net/projects/blendos/rss?path=/ISOs/ -O- | grep -E -o 'https://.*blendOS\.iso.*</media:hash' >/tmp/blendos-isos.rss | ||||||
|     local RLIST |     local RLIST | ||||||
|     RLIST=$(curl -s https://api.github.com/repos/blend-os/blendOS/releases  |grep tag_name | grep -o -E '[[:digit:]]+\.[[:digit:]]+' | tr ' \r\n' ' ') |     RLIST=$(grep -E -o 'https://.*blendOS\.iso.*</media:hash' /tmp/blendos | cut -d/ -f 8-9 | sort -r -t/  --key=2 |grep -e '16878' -e '168[8-9]') | ||||||
|     echo ${RLIST} |     echo ${RLIST} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -322,6 +344,14 @@ function editions_blendos() { | ||||||
|     echo gnome kde |     echo gnome kde | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_bodhi() { | ||||||
|  |     echo 7.0.0 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | function editions_bodhi() { | ||||||
|  |     echo standart hwe s76 | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_cachyos() { | function releases_cachyos() { | ||||||
|     echo 2300305 |     echo 2300305 | ||||||
| } | } | ||||||
|  | @ -343,7 +373,7 @@ function releases_cereus() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function editions_cereus() { | function editions_cereus() { | ||||||
|     echo lxqt xfce |     echo base lxqt xfce | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_debian() { | function releases_debian() { | ||||||
|  | @ -362,7 +392,7 @@ function releases_deepin() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_devuan() { | function releases_devuan() { | ||||||
|     echo beowulf chimaera |     echo beowulf chimaera daedalus | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_dietpi() { | function releases_dietpi() { | ||||||
|  | @ -404,7 +434,7 @@ function editions_endless() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_fedora() { | function releases_fedora() { | ||||||
|     echo 33 34 35 36 37 |     echo 33 34 35 36 37 38 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function editions_fedora() { | function editions_fedora() { | ||||||
|  | @ -438,11 +468,7 @@ function releases_freedos() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_fvoid() { | function releases_fvoid() { | ||||||
|     echo latest 20230222 20230124 20221021 20220818 |     echo latest | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function editions_fvoid() { |  | ||||||
|     echo lxqt |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_gabeeos() { | function releases_gabeeos() { | ||||||
|  | @ -450,7 +476,7 @@ function releases_gabeeos() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function editions_gabeeos() { | function editions_gabeeos() { | ||||||
|     echo qtile budgie |     echo openbox qtile | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_garuda() { | function releases_garuda() { | ||||||
|  | @ -483,7 +509,7 @@ function editions_haiku() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_holoiso() { | function releases_holoiso() { | ||||||
|     echo 4.0 |     echo 4.5 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_kali() { | function releases_kali() { | ||||||
|  | @ -514,6 +540,10 @@ function releases_lmde(){ | ||||||
|     echo 5 |     echo 5 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_macos() { | ||||||
|  |     echo high-sierra mojave catalina big-sur monterey ventura | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_mageia(){ | function releases_mageia(){ | ||||||
|     echo 8 |     echo 8 | ||||||
| } | } | ||||||
|  | @ -522,10 +552,6 @@ function editions_mageia(){ | ||||||
|     echo Plasma GNOME Xfce |     echo Plasma GNOME Xfce | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_macos() { |  | ||||||
|     echo high-sierra mojave catalina big-sur monterey ventura |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function releases_manjaro() { | function releases_manjaro() { | ||||||
|     echo xfce \ |     echo xfce \ | ||||||
|     gnome \ |     gnome \ | ||||||
|  | @ -536,12 +562,16 @@ function releases_manjaro() { | ||||||
|     mate |     mate | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function editions_manjaro(){ | ||||||
|  |     echo full minimal | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_miyo() { | function releases_miyo() { | ||||||
|     echo latest 2022 2020 2019 2018 2017 2016 |     echo 2022 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function editions_miyo(){ | function editions_miyo(){ | ||||||
|     echo kwin ceres jwm openbox mate |     echo Kwin Deboot-Ceres JWM Openbox MATE | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_mxlinux(){ | function releases_mxlinux(){ | ||||||
|  | @ -606,12 +636,6 @@ function releases_rebornos() { | ||||||
|     echo latest |     echo latest | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_rebornos() { |  | ||||||
|    local ISO=$(curl -s 'https://www.rebornos.org/download/' | grep -ohE 'https://pub-cb7a4d4f7a974896b3bf40c52d1defbc.r2.dev/RebornOS-ISO/(rebornos_xfce_minimal|rebornos_iso)-[0-9]{4}.[0-9]{2}.[0-9]{2}-x86_64.iso' | tail -n1) |  | ||||||
|    local HASH=$(curl -s 'https://www.rebornos.org/download/' | grep -ozP 'Checksum MD5:.*[0-9a-fA-F]{32}' | grep -zoP '[0-9a-fA-F]{32}' | cut -d '' -f1) |  | ||||||
|    echo "${ISO} ${HASH}" |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function releases_rockylinux() { | function releases_rockylinux() { | ||||||
|     echo 8.3 8.4 8.5 8.6 8.7 9.0 9.1 |     echo 8.3 8.4 8.5 8.6 8.7 9.0 9.1 | ||||||
| } | } | ||||||
|  | @ -663,6 +687,10 @@ function releases_truenas-scale() { | ||||||
|     echo 22.02 22.12 |     echo 22.02 22.12 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_tuxedoos() { | ||||||
|  |     echo 2 | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_ubuntu() { | function releases_ubuntu() { | ||||||
|     local LTS_SUPPORT="14.04 16.04 18.04 20.04 22.04" |     local LTS_SUPPORT="14.04 16.04 18.04 20.04 22.04" | ||||||
|     local INTERIM_SUPPORT="23.04" |     local INTERIM_SUPPORT="23.04" | ||||||
|  | @ -734,6 +762,7 @@ function releases_ubuntu() { | ||||||
|             eol-20.10 \ |             eol-20.10 \ | ||||||
|             eol-21.04 \ |             eol-21.04 \ | ||||||
|             eol-21.10 \ |             eol-21.10 \ | ||||||
|  |             eol-22.10 \ | ||||||
|             ; |             ; | ||||||
|     fi |     fi | ||||||
| } | } | ||||||
|  | @ -751,23 +780,23 @@ function releases_vanillaos() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_ventoy() { | function releases_ventoy() { | ||||||
|     echo latest |     echo 1.0.95 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_void() { | function releases_void() { | ||||||
|     echo current |     echo current | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function editions_void() { | ||||||
|  |     echo glibc musl xfce-glibc xfce-musl | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_voidpup() { | function releases_voidpup() { | ||||||
|     echo current |     echo latest | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_vxlinux() { | function releases_vxlinux() { | ||||||
|     echo 7.0 6.1.2 6.1 5.0 4.2 4.1 4.0. |     echo 5.5 | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function editions_vxlinux() { |  | ||||||
| 	echo lxqt kde |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function releases_windows() { | function releases_windows() { | ||||||
|  | @ -1008,7 +1037,7 @@ EOF | ||||||
|             fi |             fi | ||||||
|             ;; |             ;; | ||||||
|           vanillaos) |           vanillaos) | ||||||
|           ## Minimum 50G for abroot |           ## Minimum is 50G for abroot, but a 64GB is allocated to give some headroom | ||||||
|            echo "disk_size=\"64G\"" >> "${CONF_FILE}" |            echo "disk_size=\"64G\"" >> "${CONF_FILE}" | ||||||
|            ;; |            ;; | ||||||
|           zorin) |           zorin) | ||||||
|  | @ -1032,7 +1061,7 @@ EOF | ||||||
|         esac |         esac | ||||||
| 
 | 
 | ||||||
|         if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"*  ]]; then |         if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"*  ]]; then | ||||||
|         # wont install  lobster testing with less than 18GB |         # Minimum to install lobster testing is 18GB but 32GB are allocated for headroom | ||||||
|           echo "disk_size=\"32G\"" >> "${CONF_FILE}" |           echo "disk_size=\"32G\"" >> "${CONF_FILE}" | ||||||
|         fi |         fi | ||||||
|         # Enable TPM for Windows 11 |         # Enable TPM for Windows 11 | ||||||
|  | @ -1062,17 +1091,22 @@ function get_agarimos() { | ||||||
|     case ${EDITION} in |     case ${EDITION} in | ||||||
|         gnome) |         gnome) | ||||||
|             URL="https://sourceforge.net/projects/agarimos/files/Gnome" |             URL="https://sourceforge.net/projects/agarimos/files/Gnome" | ||||||
|             ISO="AgarimOS-Gnome-Catppuccin-Live-x86_64-6.1.15_1-20230312.iso" |             ISO="AgarimOS-Gnome-Catppuccin-Live-x86_64-6.3.13_1-20230910.iso" | ||||||
|             ;; |             ;; | ||||||
|         plasma) |         plasma) | ||||||
|             URL="https://sourceforge.net/projects/agarimos/files/Plasma" |             URL="https://sourceforge.net/projects/agarimos/files/Plasma" | ||||||
|             ISO="AgarimOS-Plasma-Dracula-Live_64-6.1.18_1-20230313.iso" |             ISO="AgarimOS-Plasma-Dracula-Live-x86_64-6.3.13_1-20230913.iso" | ||||||
|             ;; |             ;; | ||||||
|         xfce) |         xfce) | ||||||
|             URL="https://sourceforge.net/projects/agarimos/files/XFCE4" |             URL="https://sourceforge.net/projects/agarimos/files/XFCE4" | ||||||
|             ISO="AgarimOS-XFCE4-Catppuccin-Live-x86_64-6.1.15_1-20230311.iso" |             ISO="AgarimOS-XFCE4-Catppuccin-Live-x86_64-6.3.13_1-20230903.iso" | ||||||
|  |             ;; | ||||||
|  |         lxqt) | ||||||
|  |             URL="https://sourceforge.net/projects/agarimos/files/LXQT-KWIN" | ||||||
|  |             ISO="AgarimOS-LXQT-KWIN-Dracula-Live-x86_64-6.3.13_1-20230903.iso" | ||||||
|             ;; |             ;; | ||||||
|     esac |     esac | ||||||
|  | 
 | ||||||
|     HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1) |     HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1) | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
|  | @ -1124,15 +1158,6 @@ function get_android() { | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_archlinux() { |  | ||||||
|     local HASH="" |  | ||||||
|     local ISO="" |  | ||||||
|     local URL="https://mirror.rackspace.com/archlinux" |  | ||||||
|     ISO=$(wget -q -O- "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].iso_url') |  | ||||||
|     HASH=$(wget -q -O- "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha1_sum') |  | ||||||
|     echo "${URL}/${ISO} ${HASH}" |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function get_archcraft() { | function get_archcraft() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local URL="" |     local URL="" | ||||||
|  | @ -1143,6 +1168,15 @@ function get_archcraft() { | ||||||
|     echo "${URL} ${HASH}" |     echo "${URL} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_archlinux() { | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="" | ||||||
|  |     local URL="https://mirror.rackspace.com/archlinux" | ||||||
|  |     ISO=$(wget -q -O- "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].iso_url') | ||||||
|  |     HASH=$(wget -q -O- "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha1_sum') | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_arcolinux() { | function get_arcolinux() { | ||||||
|     local EDITION="${1:-}" |     local EDITION="${1:-}" | ||||||
|     local HASH="" |     local HASH="" | ||||||
|  | @ -1152,42 +1186,13 @@ function get_arcolinux() { | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_blendos() { | function get_athenaos() { | ||||||
|     local EDITION="${1:-}" |  | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local URL="" |     local URL="" | ||||||
|     case ${RELEASE} in |     local TMPURL="" | ||||||
|       23.01) |     local ISO="athena-2023.06.23-x86_64.iso" | ||||||
|         URL="$(curl -s https://api.github.com/repos/blend-os/blendOS/releases  |grep 'browser_download_url'|grep ${RELEASE} | grep -o '\"http.*\.iso\"'| cut -d\" -f 2| head -1)" |     TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/athena-iso/files/v23.06.23/${ISO}/download" 2>&1 | grep -i Location | cut -d' ' -f4) | ||||||
|         HASH=$(curl -s "${URL}.sha256sum" | cut -d' ' -f1) |  | ||||||
|         ;; |  | ||||||
|       23.04) |  | ||||||
|         case ${EDITION} in |  | ||||||
|           gnome) |  | ||||||
|             TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/blendos/files/23.04-1/${EDITION^^}/blendOS-2023.04.22-x86_64-${EDITION,,}.iso/download" 2>&1 | grep -i Location | cut -d' ' -f4) |  | ||||||
|     URL=${TMPURL%\?*} |     URL=${TMPURL%\?*} | ||||||
|             HASH=$(curl -s https://sourceforge.net/projects/blendos/files/${RELEASE}-1/${EDITION:-GNOME}/|grep  -o -E '\"sha1\":\".*\"'|cut -d\" -f4) |  | ||||||
|             ;; |  | ||||||
|           kde|plasma) |  | ||||||
|             local ED_DE="Plasma" |  | ||||||
|             TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/blendos/files/23.04-1/${ED_DE^}/blendOS-2023.04.22-x86_64-${ED_DE,,}.iso/download" 2>&1 | grep -i Location | cut -d' ' -f4) |  | ||||||
|             URL=${TMPURL%\?*} |  | ||||||
|             HASH=$(curl -s https://sourceforge.net/projects/blendos/files/${RELEASE}-1/Plasma/|grep  -o -E '\"sha1\":\".*\"'|cut -d\" -f4) |  | ||||||
|             ;; |  | ||||||
|         esac |  | ||||||
|         ;; |  | ||||||
|     esac |  | ||||||
|     echo "${URL} ${HASH}" |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function get_vanillaos() { |  | ||||||
|   # maybe use github api and dynamism for R2.0 but for 22.10 just |  | ||||||
|   # hit their CDN |  | ||||||
|   # |  | ||||||
|   # https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.md5.txt |  | ||||||
|   # https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt |  | ||||||
|     local HASH=$(curl -s "https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt" | cut -d' ' -f1) |  | ||||||
|     local URL="https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.iso" |  | ||||||
|     echo "${URL} ${HASH}" |     echo "${URL} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -1196,6 +1201,7 @@ function get_batocera() { | ||||||
|     local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/last" |     local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/last" | ||||||
|     local ISO="$(curl -sl ${URL}/ | grep -e 'batocera.*img.gz'|cut -d\" -f2)" |     local ISO="$(curl -sl ${URL}/ | grep -e 'batocera.*img.gz'|cut -d\" -f2)" | ||||||
|     local CURRENT_RELEASE=$(echo "${ISO}"| cut -d\- -f3) |     local CURRENT_RELEASE=$(echo "${ISO}"| cut -d\- -f3) | ||||||
|  | 
 | ||||||
|     case ${RELEASE} in |     case ${RELEASE} in | ||||||
|       ${CURRENT_RELEASE})  #Current release |       ${CURRENT_RELEASE})  #Current release | ||||||
|          URL+="" |          URL+="" | ||||||
|  | @ -1205,6 +1211,45 @@ function get_batocera() { | ||||||
|          ISO="$(curl -sl ${URL}/ | grep -e 'batocera.*img.gz'|cut -d\" -f2)" |          ISO="$(curl -sl ${URL}/ | grep -e 'batocera.*img.gz'|cut -d\" -f2)" | ||||||
|          ;; # non-current are here |          ;; # non-current are here | ||||||
|     esac |     esac | ||||||
|  | 
 | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | function get_biglinux() { | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="" | ||||||
|  |     local URL="https://iso.biglinux.com.br/" | ||||||
|  |     ISO=$(grep -Eo 'biglinux_[0-9]{4}(-[0-9]{2}){2}_k[0-9]{2,3}.iso' <(wget -q -O- ${URL}) | sort -u | tail -n2 | head -n1) | ||||||
|  |     HASH=$(curl -s ${URL}${ISO}.md5 | grep -Eo '[[:alnum:]]{32}') | ||||||
|  |     echo "${URL}${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | function get_blendos() { | ||||||
|  |     local EDITION="${1:-}" | ||||||
|  |     local HASH="" | ||||||
|  |     local URL="" | ||||||
|  |     # BlendOS has more editions and releases but there's a tracker indirect and other issues | ||||||
|  |     # so easier to use the rss feed | ||||||
|  |     # | ||||||
|  |     # We have to provide edition/release as RELEASE or have a major refactor | ||||||
|  |     # But this works for now ... | ||||||
|  |     URL=$(grep ${RELEASE} /tmp/blendos-isos.rss | grep -E -o 'https://.*blendOS\.iso') | ||||||
|  |     HASH=$(grep ${RELEASE} /tmp/blendos-isos.rss | grep -E -o '[[:alnum:]]{32}') | ||||||
|  |     echo "${URL} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | function get_bodhi() { | ||||||
|  |     local EDITION="${1:-}" | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="" | ||||||
|  |     local URL="https://sourceforge.net/projects/bodhilinux/files/${release}/" | ||||||
|  | 
 | ||||||
|  |     case ${EDITION} in | ||||||
|  |       standart) ISO="bodhi-${RELEASE}-64.iso";; | ||||||
|  |       hwe) ISO="bodhi-${RELEASE}-64-hwe.iso";; | ||||||
|  |       s76) ISO="bodhi-${RELEASE}-64-s76.iso";; | ||||||
|  |     esac | ||||||
|  |     HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1) | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -1238,12 +1283,10 @@ function get_centos-stream() { | ||||||
| function get_cereus() { | function get_cereus() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/${RELEASE}/${EDITION}" |     local URL="" | ||||||
|     local DATE="" |  | ||||||
|     DATE=$(wget -q -O- "${URL}/SHA256" | cut -d' ' -f3 | grep "${EDITION}") |  | ||||||
|     case ${EDITION} in |     case ${EDITION} in | ||||||
|       base) |       base) | ||||||
|         ISO="cereus-beta-live-x86_64-xfce-${DATE}.iso" |         ISO="cereus-beta-live-x86_64-xfce-2023.02.17.iso" | ||||||
|         URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/latest/base" |         URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/latest/base" | ||||||
|         HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f2) |         HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f2) | ||||||
|         ;; |         ;; | ||||||
|  | @ -1315,6 +1358,7 @@ function get_devuan() { | ||||||
|     case ${RELEASE} in |     case ${RELEASE} in | ||||||
|       beowulf) ISO="devuan_${RELEASE}_3.1.1_amd64_desktop-live.iso";; |       beowulf) ISO="devuan_${RELEASE}_3.1.1_amd64_desktop-live.iso";; | ||||||
|       chimaera) ISO="devuan_${RELEASE}_4.0.2_amd64_desktop-live.iso";; |       chimaera) ISO="devuan_${RELEASE}_4.0.2_amd64_desktop-live.iso";; | ||||||
|  |       daedalus) ISO="devuan_${RELEASE}_5.0.0_amd64_desktop-live.iso" | ||||||
|     esac |     esac | ||||||
|     HASH=$(wget -q -O- "${URL}/SHASUMS.txt" | grep "${ISO}" | cut -d' ' -f1) |     HASH=$(wget -q -O- "${URL}/SHASUMS.txt" | grep "${ISO}" | cut -d' ' -f1) | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | @ -1478,21 +1522,24 @@ function get_fvoid() { | ||||||
| function get_gabeeos() { | function get_gabeeos() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local URL="" |     local URL="" | ||||||
|     local TMPURL="" | #    local TMPURL="" | ||||||
|  | 
 | ||||||
|  | #    TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/gabeeos/files/latest/download" 2>&1 | grep -i Location | cut -d' ' -f4) | ||||||
| 
 | 
 | ||||||
|     case ${EDITION} in |     case ${EDITION} in | ||||||
|         qtile) |       openbox) | ||||||
|           ISO="gabeeOSLinux-Qtile-x86_64-6.1.21_1-20230405.iso" |         ISO="gabeeOSLinux-Openbox-Cherry-x86_64-6.1.25_1-20230502.iso" | ||||||
|           URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/Qtile/beta/${ISO}/download" |         URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/Openbox/beta" | ||||||
|  |         HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f2) | ||||||
|         ;; |         ;; | ||||||
|         budgie) |       qtile) | ||||||
|           ISO="gabeeos-live-BUDGIE-CALAMARES-x86_64-6.0.10_1-20221206.iso" |         ISO="gabeeOSLinux-Qtile-x86_64-6.1.25_1-20230508.iso" | ||||||
|           URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/Budgie/${ISO}/download" |         URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/Qtile/beta" | ||||||
|  |         HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f4) | ||||||
|         ;; |         ;; | ||||||
|     esac |     esac | ||||||
| #https://sourceforge.net/projects/gabeeoslinux/files/Distro/Budgie/gabeeos-live-BUDGIE-CALAMARES-x86_64-6.0.10_1-20221206.iso/download | 
 | ||||||
| #https://sourceforge.net/projects/gabeeoslinux/files/Distro/Qtile/beta/gabeeOSLinux-Qtile-x86_64-6.1.21_1-20230405.iso/download |     echo "${URL}/${ISO} ${HASH}" | ||||||
|     echo "${URL} ${HASH}" |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_garuda() { | function get_garuda() { | ||||||
|  | @ -1543,6 +1590,15 @@ function get_haiku() { | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_holoiso() { | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="HoloISO_${RELEASE}_ux_changes-20230626_66f7c74061_bootchoice_fixes-1-x86-64.iso.iso" | ||||||
|  |     local URL="http://holoiso.itsvixano.me" | ||||||
|  | 
 | ||||||
|  |     HASH=$(wget -q -O- "${URL}/${ISO}.sha256sum" | cut -d' ' -f1) | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_kali() { | function get_kali() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|  | @ -1685,26 +1741,48 @@ function get_mageia() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_manjaro() { | function get_manjaro() { | ||||||
|  |     local EDITION="${1:-}" | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local MANIFESTURL="" |     local MANIFEST="" | ||||||
|     local URL="" |     local URL="" | ||||||
|  |     local TYPE="" | ||||||
| 
 | 
 | ||||||
|     case ${RELEASE} in |     case ${RELEASE} in | ||||||
|       gnome|kde|xfce) MANIFESTURL="https://gitlab.manjaro.org/webpage/manjaro-homepage/-/raw/master/site/content/downloads/official/${RELEASE}.md";; |       sway) MANIFEST="$( wget -qO- https://mirror.manjaro-sway.download/manjaro-sway/release.json )";; | ||||||
|       budgie|cinnamon|deepin|i3|mate) MANIFESTURL="https://gitlab.manjaro.org/webpage/manjaro-homepage/-/raw/master/site/content/downloads/community/${RELEASE}.md";; |       gnome|xfce|plasma) TYPE="official";; | ||||||
|  |       *) TYPE="community";; | ||||||
|     esac |     esac | ||||||
| 
 | 
 | ||||||
|     URL="$(wget -qO- "${MANIFESTURL}" | grep "Download_x64 =" | cut -d'"' -f2)" |     [[ ${RELEASE} != "sway" ]] && MANIFEST="$(wget -qO- https://gitlab.manjaro.org/web/iso-info/-/raw/master/file-info.json)" | ||||||
|     HASH=$(wget -qO- "${MANIFESTURL}" | grep "Download_x64_Checksum =" | cut -d'"' -f2) | 
 | ||||||
|  |     [[ ${EDITION} == "minimal" && ${TYPE} != "sway" ]] && EDITION=".minimal" || EDITION="" | ||||||
|  |      | ||||||
|  |     if [[ ${RELEASE} != "sway" ]]; then  | ||||||
|  |         URL="$(echo ${MANIFEST} | jq -r .${TYPE}.${RELEASE}${EDITION}.image)" | ||||||
|  |     else | ||||||
|  |         URL="echo ${MANIFEST} | jq -r '.[] | select(.name|test("^manjaro-sway-.*[.]iso$")) | select(.name|contains("unstable")|not) | .url'" | ||||||
|  |     fi | ||||||
|  |      | ||||||
|  |     HASH=$(wget -qO- "${URL}.sha512" | cut -d' ' -f1) | ||||||
|     echo "${URL} ${HASH}" |     echo "${URL} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_miyo() { | function get_miyo() { | ||||||
|     local EDITION= |     local EDITION="${1:-}" | ||||||
|     local HASH= |     local HASH="" | ||||||
|     local ISO=miyo-${EDITION}-x86_64-BIOS-${DATE}.iso |     local DATE="" | ||||||
|     local URL=https://sourceforge.net/projects/miyolinux/files/${RELEASE}-Release/${EDITION} |     local ISO="miyo-${EDITION}-x86_64-BIOS-${DATE}.iso" | ||||||
|  |     local URL="https://sourceforge.net/projects/miyolinux/files/${RELEASE}-Release/${EDITION}" | ||||||
|  |      | ||||||
|  |     case ${EDITION} in | ||||||
|  |       Kwin) ISO="miyo-kwin-x86_64-BIOS-20220526.iso";; | ||||||
|  |       Deboot-Ceres) ISO="Deboot-Ceres-x86-64-BIOS-20220415.iso";; | ||||||
|  |       JWM) ISO="miyolinux-jwm-x86_64-BIOS-20220226.iso";; | ||||||
|  |       Openbox) ISO="MiyoLinux-x86_64-BIOS-20220129.iso";; | ||||||
|  |       MATE) ISO="mate-minimal-x86_64-BIOS-20220107.iso";; | ||||||
|  |     esac | ||||||
|  | 
 | ||||||
|     HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1) |     HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1) | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
|  | @ -1853,10 +1931,10 @@ function get_siduction() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local DATE="" |     local DATE="" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local URL="https://mirrors.dotsrc.org/siduction/iso/Masters_of_War/${EDITION}" |     local URL="https://mirrors.dotsrc.org/siduction/iso/Standing_on_the_Shoulders_of_Giants/${EDITION}" | ||||||
|     DATE=$(wget -q -O- "${URL}"| grep .iso.md5 | cut -d'-' -f6 | cut -d'.' -f1) |     DATE=$(wget -q -O- "${URL}"| grep .iso.md5 | cut -d'-' -f6 | cut -d'.' -f1) | ||||||
|     HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut -d' ' -f1) |     HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut -d' ' -f1) | ||||||
|     ISO="siduction-22.1.1-Masters_of_War-${EDITION}-amd64-${DATE}.iso" |     ISO="siduction-2023.1.1-Standing_on_the_Shoulders_of_Giants-${EDITION}-amd64-${DATE}.iso" | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -1877,6 +1955,7 @@ function get_slitaz() { | ||||||
|       preferred) ISO="slitaz-rolling";; |       preferred) ISO="slitaz-rolling";; | ||||||
|       *)   ISO="slitaz-rolling-${RELEASE}";; |       *)   ISO="slitaz-rolling-${RELEASE}";; | ||||||
|     esac |     esac | ||||||
|  | 
 | ||||||
|     HASH=$(wget -q -O- "${URL}/${ISO}.md5" |  cut -d' ' -f1) |     HASH=$(wget -q -O- "${URL}/${ISO}.md5" |  cut -d' ' -f1) | ||||||
|     echo "${URL}/${ISO}.iso ${HASH}" |     echo "${URL}/${ISO}.iso ${HASH}" | ||||||
| } | } | ||||||
|  | @ -1891,16 +1970,6 @@ function get_solus() { | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_holoiso() { |  | ||||||
|     local HASH="" |  | ||||||
|     local DATE="20221211" |  | ||||||
|     local ISO="HoloISO_${RELEASE}_OfflineInstaller-${DATE}_1636-x86_64.iso" |  | ||||||
|     local URL="http://holoiso.itsvixano.me" |  | ||||||
| 
 |  | ||||||
|     HASH=$(wget -q -O- "${URL}/${ISO}.sha256sum" | cut -d' ' -f1) |  | ||||||
|     echo "${URL}/${ISO} ${HASH}" |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function get_tails() { | function get_tails() { | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local JSON="" |     local JSON="" | ||||||
|  | @ -1936,6 +2005,16 @@ function get_truenas-core() { | ||||||
|     echo "${URL} ${HASH}" |     echo "${URL} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_tuxedoos() { | ||||||
|  |     local DATE="202309111354" | ||||||
|  |     local HASH="" | ||||||
|  |     local ISO="TUXEDO-OS-${RELEASE}-${DATE}.iso" | ||||||
|  |     local URL="https://os.tuxedocomputers.com/" | ||||||
|  | 
 | ||||||
|  |     HASH=$(wget -q -O- "${URL}/checksums" | grep "${ISO}" | cut -d' ' -f1) | ||||||
|  |     echo "${URL}/${ISO} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_ubuntu-server() { | function get_ubuntu-server() { | ||||||
| 
 | 
 | ||||||
|       local HASH="" |       local HASH="" | ||||||
|  | @ -2014,10 +2093,22 @@ function get_ubuntu() { | ||||||
|     fi |     fi | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function get_vanillaos() { | ||||||
|  |   # maybe use github api and dynamism for R2.0 but for 22.10 just | ||||||
|  |   # hit their CDN | ||||||
|  |   # | ||||||
|  |   # https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.md5.txt | ||||||
|  |   # https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt | ||||||
|  |     local HASH=$(curl -s "https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt" | cut -d' ' -f1) | ||||||
|  |     local URL="https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.iso" | ||||||
|  |     echo "${URL} ${HASH}" | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function get_ventoy() { | function get_ventoy() { | ||||||
|     local HASH= |     local HASH="" | ||||||
|     local ISO=ventoy-1.0.89-livecd.iso |     local ISO="ventoy-${RELEASE}-livecd.iso" | ||||||
|     local URL=https://github.com/ventoy/Ventoy/releases/download/v1.0.89 |     local URL="https://github.com/ventoy/Ventoy/releases/download/v${RELEASE}" | ||||||
|  | 
 | ||||||
|     HASH="$(wget -q -O- "${URL}/sha256.txt" | grep "${ISO}" | cut -d' ' -f4)" |     HASH="$(wget -q -O- "${URL}/sha256.txt" | grep "${ISO}" | cut -d' ' -f4)" | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
|  | @ -2053,13 +2144,9 @@ function get_voidpup() { | ||||||
| function get_vxlinux() { | function get_vxlinux() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|     local URL="https://github.com/dessington/vx-linux/releases/download/${RELEASE}" |     local URL="https://github.com/VX-Linux/main/releases/download/${RELEASE}" | ||||||
| 
 | 
 | ||||||
|     if [ "$RELEASE" == "4.0" ]; then |     ISO="vx-${RELEASE}.iso" | ||||||
|         ISO="vx-linux-4.0-qt.iso" |  | ||||||
|     else |  | ||||||
|         ISO="vx-linux-${RELEASE}.iso" |  | ||||||
|     fi |  | ||||||
|     echo "${URL}/${ISO} ${HASH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -2457,11 +2544,6 @@ create_vm() { | ||||||
|         ISO="${ISO/.gz/}" |         ISO="${ISO/.gz/}" | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|     if [ ${OS} == "dietpi" ] && [[ $ISO =~ ".7z" ]]; then |  | ||||||
|         7zip x -o${VM_PATH} ${VM_PATH}/${ISO} |  | ||||||
|         ISO=$(ls ${VM_PATH} | grep -i '.iso') |  | ||||||
|     fi |  | ||||||
| 
 |  | ||||||
|     #  Could be other OS iso files compressed with bzip2 or gzip |     #  Could be other OS iso files compressed with bzip2 or gzip | ||||||
|     #  but for now we'll keep this to know cases |     #  but for now we'll keep this to know cases | ||||||
|     if [[ ${OS} == "dragonflybsd" ]] && [[ ${ISO} =~ ".bz2" ]]; then |     if [[ ${OS} == "dragonflybsd" ]] && [[ ${ISO} =~ ".bz2" ]]; then | ||||||
|  | @ -2469,6 +2551,13 @@ create_vm() { | ||||||
|         ISO="${ISO/.bz2/}" |         ISO="${ISO/.bz2/}" | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|  |      | ||||||
|  |     if [ ${OS} == "dietpi" ] && [[ $ISO =~ ".7z" ]]; then | ||||||
|  |         7zip x -o${VM_PATH} ${VM_PATH}/${ISO} | ||||||
|  |         ISO=$(ls ${VM_PATH} | grep -i '.iso') | ||||||
|  |     fi | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|     if [ ${OS} == "reactos" ] && [[ $ISO =~ ".zip" ]]; then |     if [ ${OS} == "reactos" ] && [[ $ISO =~ ".zip" ]]; then | ||||||
|         unzip ${VM_PATH}/${ISO} -d ${VM_PATH} |         unzip ${VM_PATH}/${ISO} -d ${VM_PATH} | ||||||
|         ISO=$(ls ${VM_PATH} | grep -i '.iso' | grep -v '.zip') |         ISO=$(ls ${VM_PATH} | grep -i '.iso' | grep -v '.zip') | ||||||
|  | @ -2529,16 +2618,7 @@ if [ -n "${2}" ]; then | ||||||
|             fi |             fi | ||||||
|         fi |         fi | ||||||
| 
 | 
 | ||||||
|         # Handle odd missing fedora cominations |         # Handle odd missing dietpi combinations | ||||||
|         if [[ $OS == fedora ]] ; then |  | ||||||
|             if [[ ${RELEASE} = "33"  &&  ${EDITION} = "i3"  ]] || [[  ${RELEASE} = "34"  &&  ${EDITION} = "Cinnamon"   ]] ; then |  | ||||||
|                 echo "ERROR! Unsupported combination" |  | ||||||
|                 echo "       Fedora 33 i3 and Fedora 34 Cinnamon are not available, please choose another Release or Edition" |  | ||||||
|                 exit 1; |  | ||||||
|             fi |  | ||||||
|         fi |  | ||||||
| 
 |  | ||||||
|         # Handle odd missing dietpi cominations |  | ||||||
|         if [[ $OS == dietpi ]] ; then |         if [[ $OS == dietpi ]] ; then | ||||||
|             if [[ ${RELEASE} = "uefi"  &&  ${EDITION} = "bookworm"  ]] || [[  ${RELEASE} = "uefi"  &&  ${EDITION} = "bullseye"   ]] ; then |             if [[ ${RELEASE} = "uefi"  &&  ${EDITION} = "bookworm"  ]] || [[  ${RELEASE} = "uefi"  &&  ${EDITION} = "bullseye"   ]] ; then | ||||||
|                 echo "ERROR! Unsupported combination" |                 echo "ERROR! Unsupported combination" | ||||||
|  | @ -2547,64 +2627,23 @@ if [ -n "${2}" ]; then | ||||||
|             fi |             fi | ||||||
|         fi |         fi | ||||||
| 
 | 
 | ||||||
|         # Handle void missing edition |         # Handle odd missing fedora combinations | ||||||
|         case "${RELEASE}-${EDITION}" in |         if [[ $OS == fedora ]] ; then | ||||||
|           "20170220-gnome"|"20170220-gnome-musl") |             if [[ ${RELEASE} = "33"  &&  ${EDITION} = "i3"  ]] || [[  ${RELEASE} = "34"  &&  ${EDITION} = "Cinnamon"   ]] ; then | ||||||
|                 echo "ERROR! Unsupported combination" |                 echo "ERROR! Unsupported combination" | ||||||
|             echo "Posible editions are: base base-musl cinnamon cinnamon-musl enlightenment enlightenment-musl lxde lxde-musl lxqt lxqt-musl mate mate-musl xfce xfce-musl" |                 echo "       Fedora 33 i3 and Fedora 34 Cinnamon are not available, please choose another Release or Edition" | ||||||
|                 exit 1; |                 exit 1; | ||||||
|             ;; |             fi | ||||||
|           "20170825-gnome"|"20170825-gnome-musl"|"20170825-enlightenment"|"20170825-enlightenment-musl"|"20170825-lxqt"|"20170825-lxqt-musl"|"20170825-base"|"20170825-mate-musl"|"20170825-lxde"|"20170825-lxde-musl"|"20170825-cinnamon"|"20170825-cinnamon-musl"|"20170825-xfce"|"20170825-xfce-musl"|"20170825-base-musl") |         fi | ||||||
|  | 
 | ||||||
|  |         # Handle missing Manjaro Sway minimal | ||||||
|  |         if [[ $OS == manjaro ]] ; then | ||||||
|  |             if [[ ${RELEASE} == "sway" && ${EDITION} == "minimal" ]] ; then | ||||||
|                 echo "ERROR! Unsupported combination" |                 echo "ERROR! Unsupported combination" | ||||||
|             echo "Only one possible edition: mate" |                 echo "       Manjaro Sway does not have a minimal edition" | ||||||
|                 exit 1; |                 exit 1; | ||||||
|             ;; |             fi | ||||||
|           "20171007-gnome"|"20171007-gnome-musl") |         fi | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Posible editions are: base base-musl cinnamon cinnamon-musl enlightenment enlightenment-musl lxde lxde-musl lxqt lxqt-musl mate mate-musl xfce xfce-musl" |  | ||||||
|             exit 1; |  | ||||||
|             ;; |  | ||||||
|           "20181111-gnome"|"20181111-gnome-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Posible editions are: base base-musl cinnamon cinnamon-musl enlightenment enlightenment-musl lxde lxde-musl lxqt lxqt-musl mate mate-musl xfce xfce-musl" |  | ||||||
|             exit 1; |  | ||||||
|             ;; |  | ||||||
|           "20190217-gnome"|"20190217-gnome-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Posible editions are: base base-musl cinnamon cinnamon-musl enlightenment enlightenment-musl lxde lxde-musl lxqt lxqt-musl mate mate-musl xfce xfce-musl" |  | ||||||
|             exit 1; |  | ||||||
|             ;; |  | ||||||
|           "20190526-gnome"|"20190526-gnome-musl"|"20190526-enlightenment"|"20190526-enlightenment-musl"|"20190526-lxqt"|"20190526-lxqt-musl"|"20190526-mate"|"20190526-mate-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Posible editions are only: base base-musl cinnamon cinnamon-musl enlightenment enlightenment-musl lxde lxde-musl lxqt lxqt-musl" |  | ||||||
|             exit 1; |  | ||||||
|             ;; |  | ||||||
|           "20191109:gnome"|"20191109:gnome-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Possible editions are: base base-musl cinnamon cinnamon-musl enlightenment enlightenment-musl lxde lxde-musl lxqt lxqt-musl mate mate-musl xfce xfce-musl" |  | ||||||
|             exit 1 |  | ||||||
|             ;; |  | ||||||
|           "20210316:gnome"|"20210316:gnome-musl"|"20210316:enlightenment"|"20210316:enlightenment-musl"|"20210316:lxqt"|"20210316:lxqt-musl"|"20210316:mate"|"20210316:mate-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Possible editions are only: base base-musl cinnamon cinnamon-musl lxde lxde-musl xfce xfce-musl" |  | ||||||
|             exit 1 |  | ||||||
|             ;; |  | ||||||
|           "20210930:gnome"|"20210930:gnome-musl"|"20210930:enlightenment"|"20210930:enlightenment-musl"|"20210930:lxqt"|"20210930:lxqt-musl"|"20210930:mate"|"20210930:mate-musl"|"20210930:lxde"|"20210930:lxde-musl"|"20210930:cinnamon"|"20210930:cinnamon-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Possible editions are only: base base-musl xfce xfce-musl" |  | ||||||
|             exit 1 |  | ||||||
|             ;; |  | ||||||
|           "20221001:gnome"|"20221001:gnome-musl"|"20221001:enlightenment"|"20221001:enlightenment-musl"|"20221001:lxqt"|"20221001:lxqt-musl"|"20221001:mate"|"20221001:mate-musl"|"20221001:lxde"|"20221001:lxde-musl"|"20221001:cinnamon"|"20221001:cinnamon-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Possible editions are only: base base-musl xfce xfce-musl" |  | ||||||
|             exit 1 |  | ||||||
|             ;; |  | ||||||
|           "current:gnome"|"current:gnome-musl"|"current:enlightenment"|"current:enlightenment-musl"|"current:lxqt"|"current:lxqt-musl"|"current:mate"|"current:mate-musl"|"current:lxde"|"current:lxde-musl"|"current:cinnamon"|"current:cinnamon-musl") |  | ||||||
|             echo "ERROR! Unsupported combination" |  | ||||||
|             echo "Possible editions are only: base base-musl xfce xfce-musl" |  | ||||||
|             exit 1 |  | ||||||
|             ;; |  | ||||||
|         esac |  | ||||||
| 
 | 
 | ||||||
|         VM_PATH="${OS}-${RELEASE}-${EDITION}" |         VM_PATH="${OS}-${RELEASE}-${EDITION}" | ||||||
|         validate_release "releases_${OS}" |         validate_release "releases_${OS}" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue