This commit is contained in:
ruscher 2023-07-06 01:39:18 +00:00 committed by GitHub
commit 7bddb06daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@ function pretty_name() {
archlinux) PRETTY_NAME="Arch Linux";;
archcraft) PRETTY_NAME="Archcraft";;
arcolinux) PRETTY_NAME="Arco Linux";;
biglinux) PRETTY_NAME="BigLinux";;
blendos) PRETTY_NAME="BlendOS";;
cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";;
@ -183,6 +184,7 @@ function os_support() {
archcraft \
arcolinux \
batocera \
biglinux \
blendos \
cachyos \
centos-stream \
@ -282,6 +284,10 @@ function editions_arcolinux() {
echo large small
}
function releases_biglinux() {
echo kde
}
function releases_blendos() {
local RLIST
RLIST=$(curl -s https://api.github.com/repos/blend-os/blendOS/releases |grep tag_name | grep -o -E '[[:digit:]]+\.[[:digit:]]+' | tr ' \r\n' ' ')
@ -1042,6 +1048,15 @@ function get_arcolinux() {
echo "${URL}/${ISO} ${HASH}"
}
function get_biglinux() {
local HASH=""
local ISO=""
local URL="https://iso.biglinux.com.br"
ISO=$(grep -Eo 'biglinux_[0-9]{4}(-[0-9]{2}){2}_k[0-9]{2,3}.iso' <(wget -q -O- ${URL}) | sort -u | tail -n2 | head -n1)
HASH=$(curl -s ${URL}/${ISO}.md5 | grep -Eo '[[:alnum:]]{32}')
echo "${URL}/${ISO} ${HASH}"
}
function get_blendos() {
local EDITION="${1:-}"
local HASH=""