Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PeppermintOS #800

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -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";;
Expand Down Expand Up @@ -218,6 +219,7 @@ function os_support() {
openindiana \
opensuse \
oraclelinux \
peppermint \
popos \
reactos \
rebornos \
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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=""
Expand Down