From 7d62bf1e590475326e26983489235ef3fa29b1be Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 14 Sep 2023 15:36:19 +0200 Subject: [PATCH] Add Bodhi Linux --- quickget | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/quickget b/quickget index 447a71d..02470d8 100755 --- a/quickget +++ b/quickget @@ -40,6 +40,7 @@ function pretty_name() { atheanos) PRETTY_NAME="Athena OS";; biglinux) PRETTY_NAME="BigLinux";; blendos) PRETTY_NAME="BlendOS";; + bodhi) PRETTY_NAME="Bodhi Linux";; cachyos) PRETTY_NAME="CachyOS";; centos-stream) PRETTY_NAME="CentOS Stream";; cereus) PRETTY_NAME="Cereus Linux";; @@ -197,6 +198,7 @@ function os_support() { batocera \ biglinux \ blendos \ + bodhi \ cachyos \ centos-stream \ cereus \ @@ -330,6 +332,14 @@ function editions_blendos() { echo gnome kde } +function releases_bodhi() { + echo 7.0.0 +} + +function editions_bodhi() { + echo standard hwe s76 +} + function releases_cachyos() { echo 2300305 } @@ -1209,6 +1219,20 @@ function get_blendos() { 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 + standard) ISO="bodhi-${RELEASE}-64.iso";; + *) ISO="bodhi-${RELEASE}-64-${EDITION}.iso";; + esac + HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} + function get_vanillaos() { # maybe use github api and dynamism for R2.0 but for 22.10 just # hit their CDN