added BlendOS

This commit is contained in:
Phil Clifford 2023-02-06 23:27:33 +00:00 committed by Martin Wimpress
parent 564a252585
commit a99ca998f5

View File

@ -36,6 +36,7 @@ function pretty_name() {
archlinux) PRETTY_NAME="Arch Linux";;
archcraft) PRETTY_NAME="Archcraft";;
arcolinux) PRETTY_NAME="Arco Linux";;
blendos) PRETTY_NAME="BlendOS";;
cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";;
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
@ -172,6 +173,7 @@ function os_support() {
archcraft \
arcolinux \
batocera \
blendos \
cachyos \
centos-stream \
debian \
@ -263,6 +265,10 @@ function editions_arcolinux() {
echo large small
}
function releases_blendos() {
echo 23.01
}
function releases_cachyos() {
echo 230121
}
@ -991,6 +997,13 @@ function get_arcolinux() {
echo "${URL}/${ISO} ${HASH}"
}
function get_blendos() {
local HASH=""
local URL="$(wget -q https://api.github.com/repos/blend-os/blendOS/releases -O- |grep 'browser_download_url'|grep ${RELEASE} | grep -o '\"http.*\.iso\"'| cut -d\" -f 2| head -1)"
HASH=$(wget -q -O- "${URL}.sha256sum" | cut -d' ' -f1)
echo "${URL} ${HASH}"
}
function get_batocera() {
local HASH=""
local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/last"