Add Bodhi Linux

This commit is contained in:
zenobit 2023-09-14 15:36:19 +02:00
parent 80ad43840e
commit 7d62bf1e59

View file

@ -40,6 +40,7 @@ function pretty_name() {
atheanos) PRETTY_NAME="Athena OS";; atheanos) PRETTY_NAME="Athena OS";;
biglinux) PRETTY_NAME="BigLinux";; biglinux) PRETTY_NAME="BigLinux";;
blendos) PRETTY_NAME="BlendOS";; blendos) PRETTY_NAME="BlendOS";;
bodhi) PRETTY_NAME="Bodhi Linux";;
cachyos) PRETTY_NAME="CachyOS";; cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";; centos-stream) PRETTY_NAME="CentOS Stream";;
cereus) PRETTY_NAME="Cereus Linux";; cereus) PRETTY_NAME="Cereus Linux";;
@ -197,6 +198,7 @@ function os_support() {
batocera \ batocera \
biglinux \ biglinux \
blendos \ blendos \
bodhi \
cachyos \ cachyos \
centos-stream \ centos-stream \
cereus \ cereus \
@ -330,6 +332,14 @@ function editions_blendos() {
echo gnome kde echo gnome kde
} }
function releases_bodhi() {
echo 7.0.0
}
function editions_bodhi() {
echo standard hwe s76
}
function releases_cachyos() { function releases_cachyos() {
echo 2300305 echo 2300305
} }
@ -1209,6 +1219,20 @@ function get_blendos() {
echo "${URL} ${HASH}" 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() { function get_vanillaos() {
# maybe use github api and dynamism for R2.0 but for 22.10 just # maybe use github api and dynamism for R2.0 but for 22.10 just
# hit their CDN # hit their CDN