📦 bazzite

This commit is contained in:
zenobit 2023-10-19 13:14:23 +02:00 committed by Martin Wimpress
parent 2fb13f64c9
commit 0858f31701

View File

@ -226,6 +226,7 @@ function os_support() {
artixlinux \
athenaos \
batocera \
bazzite \
biglinux \
blendos \
bodhi \
@ -317,6 +318,7 @@ function os_homepages(){
artixlinux) HOMEPAGE="https://artixlinux.org/";;
athenaos) HOMEPAGE="https://athenaos.org/";;
batocera) HOMEPAGE="https://batocera.org/";;
bazzite) HOMEPAGE="https://bazzite.gg/";;
blendos) HOMEPAGE="https://blendos.co/";;
bodhi) HOMEPAGE="https://www.bodhilinux.com/";;
bunsenlabs) HOMEPAGE="https://www.bunsenlabs.org/";;
@ -481,6 +483,10 @@ function releases_athenaos() {
wget -q -O- 'https://sourceforge.net/projects/athena-iso/rss?path=/' | grep '.iso/download"' | cut -d'=' -f5 | cut -d'"' -f2 | cut -d'/' -f7 | cut -d'v' -f2 | sed ':a;N;$!ba;s/\n/ /g'
}
function releases_bazzite() {
echo $(wget -q -O- "https://api.github.com/repos/ublue-os/bazzite/releases" | grep 'download_url' | grep 'sum' | cut -d '/' -f8 | cut -d'v' -f2 | tr '\n' ' ')
}
function releases_biglinux() {
echo kde
}
@ -1470,6 +1476,16 @@ function get_batocera() {
echo "${URL}/${ISO} ${HASH}"
}
function get_bazzite() {
local HASH=""
local ISO=""
local URL="https://github.com/ublue-os/bazzite/releases/download/v${RELEASE}"
ISO=$(wget -q -O- "https://api.github.com/repos/ublue-os/bazzite/releases" | grep 'download_url' | grep 'sum' | cut -d '"' -f4 | cut -d'.' -f1-5 | grep "${RELEASE}" | cut -d'/' -f9)
HASH=$(wget -q -O- "${URL}/${ISO}.sha256sum" | grep 'SHA256' | cut -d' ' -f4)
echo "${URL}/${ISO} ${HASH}"
}
function get_bodhi() {
local EDITION="${1:-}"
local HASH=""