Add BigLinux

This commit is contained in:
zenobit 2023-09-14 15:03:17 +02:00
parent 2ff9789315
commit f167d7b888
1 changed files with 15 additions and 0 deletions

View File

@ -37,6 +37,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";;
@ -185,6 +186,7 @@ function os_support() {
archcraft \
arcolinux \
batocera \
biglinux \
blendos \
cachyos \
centos-stream \
@ -292,6 +294,10 @@ function releases_batocera() {
echo 32 33 34
}
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' ' ')
@ -1089,6 +1095,15 @@ function get_batocera() {
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=""