From 39de883c407c025f33743bc0154f1a5ec34b11cf Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 18 Oct 2023 11:41:47 +0200 Subject: [PATCH] Add bodhi linux (#751) --- quickget | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/quickget b/quickget index 3b72944..c54319c 100755 --- a/quickget +++ b/quickget @@ -185,6 +185,7 @@ function os_support() { arcolinux \ batocera \ blendos \ + bodhi \ bunsenlabs \ cachyos \ centos-stream \ @@ -304,6 +305,14 @@ function releases_bunsenlabs() { echo latest } +function releases_bodhi() { + echo 7.0.0 +} + +function editions_bodhi() { + echo standard hwe s76 +} + function releases_cachyos() { echo 230813 } @@ -1138,6 +1147,20 @@ 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";; + *) ISO="bodhi-${RELEASE}-64-${EDITION}.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"