📦 Chimera Linux

This commit is contained in:
zenobit 2023-10-02 01:48:36 +02:00 committed by Martin Wimpress
parent eb5fe7aedc
commit df5877bd7d
1 changed files with 24 additions and 0 deletions

View File

@ -76,6 +76,7 @@ function pretty_name() {
blendos) PRETTY_NAME="BlendOS";; blendos) PRETTY_NAME="BlendOS";;
cachyos) PRETTY_NAME="CachyOS";; cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";; centos-stream) PRETTY_NAME="CentOS Stream";;
chimeralinux) PRETTY_NAME="Chimera Linux";;
dragonflybsd) PRETTY_NAME="DragonFlyBSD";; dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
easyos) PRETTY_NAME="EasyOS";; easyos) PRETTY_NAME="EasyOS";;
elementary) PRETTY_NAME="elementary OS";; elementary) PRETTY_NAME="elementary OS";;
@ -233,6 +234,7 @@ function os_support() {
bunsenlabs \ bunsenlabs \
cachyos \ cachyos \
centos-stream \ centos-stream \
chimeralinux \
debian \ debian \
deepin \ deepin \
devuan \ devuan \
@ -325,6 +327,7 @@ function os_homepages(){
bunsenlabs) HOMEPAGE="https://www.bunsenlabs.org/";; bunsenlabs) HOMEPAGE="https://www.bunsenlabs.org/";;
cachyos) HOMEPAGE="https://cachyos.org/";; cachyos) HOMEPAGE="https://cachyos.org/";;
centos-stream) HOMEPAGE="https://www.centos.org/centos-stream/";; centos-stream) HOMEPAGE="https://www.centos.org/centos-stream/";;
chimeralinux) HOMEPAGE="https://chimera-linux.org/";;
debian) HOMEPAGE="https://www.debian.org/";; debian) HOMEPAGE="https://www.debian.org/";;
deepin) HOMEPAGE="https://www.deepin.org/";; deepin) HOMEPAGE="https://www.deepin.org/";;
devuan) HOMEPAGE="https://www.devuan.org/";; devuan) HOMEPAGE="https://www.devuan.org/";;
@ -529,6 +532,14 @@ function editions_centos-stream() {
echo dvd1 boot echo dvd1 boot
} }
function releases_chimeralinux() {
echo latest
}
function editions_chimeralinux() {
echo base gnome
}
function releases_debian() { function releases_debian() {
DEBCURRENT=$(wget -q https://cdimage.debian.org/debian-cd/ -O- |grep '\.[0-9]/'|cut -d\> -f9|cut -d\/ -f1) DEBCURRENT=$(wget -q https://cdimage.debian.org/debian-cd/ -O- |grep '\.[0-9]/'|cut -d\> -f9|cut -d\/ -f1)
local DEBOLD=$(wget -q https://cdimage.debian.org/cdimage/archive/ -O- |grep -e '>[1-9][0-9]\.'|grep -v 'live' | cut -d\> -f9|cut -d\/ -f1 ) local DEBOLD=$(wget -q https://cdimage.debian.org/cdimage/archive/ -O- |grep -e '>[1-9][0-9]\.'|grep -v 'live' | cut -d\> -f9|cut -d\/ -f1 )
@ -1537,6 +1548,19 @@ function get_centos-stream() {
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }
function get_chimeralinux() {
local EDITION="${1:-}"
local HASH=""
local DATE=""
local ISO=""
local URL="https://repo.chimera-linux.org/live/${RELEASE}"
DATE=$(wget -q -O- "${URL}/sha256sums.txt" | head -n1 | cut -d'-' -f5)
ISO="chimera-linux-x86_64-LIVE-${DATE}-${EDITION}.iso"
HASH=$(wget -q -O- "${URL}/sha256sums.txt" | grep 'x86_64-LIVE' | grep "${EDITION}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_debian() { function get_debian() {
local EDITION="${1:-}" local EDITION="${1:-}"
local HASH="" local HASH=""