From fe1c9c6e68918c2cf03f5bde6b441d481f02180b Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 14 Sep 2023 01:52:43 +0200 Subject: [PATCH] Add bodhi linux --- quickget | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/quickget b/quickget index 756eb8239d..8622587fef 100755 --- a/quickget +++ b/quickget @@ -184,6 +184,7 @@ function os_support() { arcolinux \ batocera \ blendos \ + bodhi \ cachyos \ centos-stream \ debian \ @@ -293,6 +294,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 } @@ -1103,6 +1112,21 @@ function get_batocera() { echo "${URL}/${ISO} ${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";; + hwe) ISO="bodhi-${RELEASE}-64-hwe.iso";; + s76) ISO="bodhi-${RELEASE}-64-s76.iso";; + esac + HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} + function get_cachyos() { local HASH="" local ISO="cachyos-${EDITION}-linux-${RELEASE}.iso"