Add Cereus Linux

This commit is contained in:
zenobit 2023-09-14 15:03:47 +02:00
parent f167d7b888
commit 109c77148a
1 changed files with 34 additions and 0 deletions

View File

@ -41,6 +41,7 @@ function pretty_name() {
blendos) PRETTY_NAME="BlendOS";;
cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";;
cereus) PRETTY_NAME="Cereus Linux";;
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
elementary) PRETTY_NAME="elementary OS";;
endeavouros) PRETTY_NAME="EndeavourOS";;
@ -190,6 +191,7 @@ function os_support() {
blendos \
cachyos \
centos-stream \
cereus \
debian \
deepin \
devuan \
@ -325,6 +327,14 @@ function editions_centos-stream() {
echo dvd1 boot
}
function releases_cereus() {
echo latest
}
function editions_cereus() {
echo base lxqt xfce
}
function releases_debian() {
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 )
@ -1170,6 +1180,30 @@ function get_centos-stream() {
echo "${URL}/${ISO} ${HASH}"
}
function get_cereus() {
local HASH=""
local ISO=""
local URL=""
case ${EDITION} in
base)
ISO="cereus-beta-live-x86_64-xfce-2023.02.17.iso"
URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/latest/base"
HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f2)
;;
lxqt)
ISO="cereus-beta-live-x86_64-lxqt-2023.02.17.iso"
URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/latest/lxqt"
HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f4)
;;
xfce)
ISO="cereus-beta-live-x86_64-xfce-2023.02.17.iso"
URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/latest/xfce"
HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f4)
;;
esac
echo "${URL}/${ISO} ${HASH}"
}
function get_debian() {
local EDITION="${1:-}"
local HASH=""