From 684bb523ed1d70530785c40a5a93c77fdd2bec15 Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 12 Oct 2023 20:44:56 +0200 Subject: [PATCH] Add PeppermintOS --- quickget | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/quickget b/quickget index 756eb8239d..00fc3561ff 100755 --- a/quickget +++ b/quickget @@ -61,6 +61,7 @@ function pretty_name() { openindiana) PRETTY_NAME="OpenIndiana";; opensuse) PRETTY_NAME="openSUSE";; oraclelinux) PRETTY_NAME="Oracle Linux";; + peppermint) PRETTY_NAME="PeppermintOS";; popos) PRETTY_NAME="Pop!_OS";; reactos) PRETTY_NAME="ReactOS";; rebornos) PRETTY_NAME="RebornOS";; @@ -218,6 +219,7 @@ function os_support() { openindiana \ opensuse \ oraclelinux \ + peppermint \ popos \ reactos \ rebornos \ @@ -521,6 +523,14 @@ function releases_oraclelinux() { echo 7.7 7.8 7.9 8.4 8.5 8.6 9.0 } +function releases_peppermint() { + echo latest +} + +function editions_peppermint() { + echo devuan-xfce devuan-gnome debian-xfce debian-gnome +} + function releases_popos() { echo 20.04 21.10 22.04 } @@ -1597,6 +1607,31 @@ function get_oraclelinux() { echo "${URL}/${ISO} ${HASH}" } +function get_peppermint() { + local EDITION="${1:-}" + local HASH="" + local ISO="" + local URL="https://sourceforge.net/projects/peppermintos/files/isos" + + case ${EDITION} in + devuan-xfce) ISO="PeppermintOS-devuan_64_xfce.iso" + URL="${URL}/XFCE" + ;; + debian-xfce) ISO="PeppermintOS-Debian-64.iso" + URL="${URL}/XFCE" + ;; + devuan-gnome) ISO="PeppermintOS-devuan_64_gfb.iso" + URL="${URL}/Gnome_FlashBack" + ;; + debian-gnome) ISO="PeppermintOS-Debian_64_gfb.iso" + URL="${URL}/Gnome_FlashBack" + ;; + esac + + HASH=$(wget -q -O- "${URL}/${ISO}-sha512.checksum" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} + function get_popos() { local EDITION="${1:-}" local HASH=""