Skip to content

Commit

Permalink
Add PeppermintOS
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit authored and flexiondotorg committed Oct 16, 2023
1 parent 3665309 commit b3846a5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,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";;
Expand Down Expand Up @@ -219,6 +220,7 @@ function os_support() {
openindiana \
opensuse \
oraclelinux \
peppermint \
popos \
reactos \
rebornos \
Expand Down Expand Up @@ -532,6 +534,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
}
Expand Down Expand Up @@ -1624,6 +1634,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=""
Expand Down

0 comments on commit b3846a5

Please sign in to comment.