mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
33 lines
1 KiB
Text
33 lines
1 KiB
Text
INFO="PeppermintOS|Debian,Devuan||https://peppermintos.com/|Provides a user with the opportunity to build the system that best fits their needs. While at the same time providing a functioning OS with minimum hassle out of the box.";;
|
|
|
|
function releases_peppermint() {
|
|
echo latest
|
|
}
|
|
|
|
function editions_peppermint() {
|
|
echo devuan-xfce devuan-gnome debian-xfce debian-gnome
|
|
}
|
|
|
|
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_1)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|