Skip to content

Commit

Permalink
Add bodhi linux
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Sep 15, 2023
1 parent c7e91a0 commit fe1c9c6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ function os_support() {
arcolinux \
batocera \
blendos \
bodhi \
cachyos \
centos-stream \
debian \
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit fe1c9c6

Please sign in to comment.