From 109c77148a7f65c79f55670969a82caffc416e24 Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 14 Sep 2023 15:03:47 +0200 Subject: [PATCH] Add Cereus Linux --- quickget | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/quickget b/quickget index 8b5479e..28c5446 100755 --- a/quickget +++ b/quickget @@ -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=""