add distro biglinux

This commit is contained in:
Ruscher 2023-07-03 00:40:54 -03:00
parent c7e91a0ea0
commit b61d27eb61
6 changed files with 22 additions and 0 deletions

View File

@ -242,6 +242,7 @@ with your preferred flavour.
- `archlinux` (Arch Linux)
- `arcolinux` (Arco Linux)
- `batocera` (Batocera)
- `biglinux` (BigLinux)
- `blendos` (BlendOS)
- `cachyos` (CachyOS)
- `centos-stream` (CentOS Stream)

View File

@ -348,6 +348,8 @@ All the official Ubuntu flavours are supported, just replace
.IP \[bu] 2
\f[V]batocera\f[R] (Batocera)
.IP \[bu] 2
\f[V]biglinux\f[R] (BigLinux)
.IP \[bu] 2
\f[V]blendos\f[R] (BlendOS)
.IP \[bu] 2
\f[V]cachyos\f[R] (CachyOS)

View File

@ -266,6 +266,7 @@ with your preferred flavour.
- `archlinux` (Arch Linux)
- `arcolinux` (Arco Linux)
- `batocera` (Batocera)
- `biglinux` (BigLinux)
- `blendos` (BlendOS)
- `cachyos` (CachyOS)
- `centos-stream` (CentOS Stream)

View File

@ -131,6 +131,8 @@ All the official Ubuntu flavours are supported, just replace
.IP \[bu] 2
\f[V]batocera\f[R] (Batocera)
.IP \[bu] 2
\f[V]biglinux\f[R] (BigLinux)
.IP \[bu] 2
\f[V]blendos\f[R] (BlendOS)
.IP \[bu] 2
\f[V]cachyos\f[R] (CachyOS)

View File

@ -98,6 +98,7 @@ with your preferred flavour.
- `archlinux` (Arch Linux)
- `arcolinux` (Arco Linux)
- `batocera` (Batocera)
- `biglinux` (BigLinux)
- `blendos` (BlendOS)
- `cachyos` (CachyOS)
- `centos-stream` (CentOS Stream)

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=""