📦 Crunchbang++

This commit is contained in:
zenobit 2023-12-21 07:35:10 +01:00 committed by Martin Wimpress
parent df5877bd7d
commit e03d438b00
1 changed files with 42 additions and 0 deletions

View File

@ -77,6 +77,7 @@ function pretty_name() {
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";; chimeralinux) PRETTY_NAME="Chimera Linux";;
crunchbang++) PRETTY_NAME="Crunchbang++";;
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";;
@ -235,6 +236,7 @@ function os_support() {
cachyos \ cachyos \
centos-stream \ centos-stream \
chimeralinux \ chimeralinux \
crunchbang++ \
debian \ debian \
deepin \ deepin \
devuan \ devuan \
@ -328,6 +330,7 @@ function os_homepages(){
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/";; chimeralinux) HOMEPAGE="https://chimera-linux.org/";;
crunchbang++) HOMEPAGE="https://www.crunchbangplusplus.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/";;
@ -540,6 +543,10 @@ function editions_chimeralinux() {
echo base gnome echo base gnome
} }
function releases_crunchbang++() {
echo 12 11 10 9 8
}
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 )
@ -1558,6 +1565,41 @@ function get_chimeralinux() {
DATE=$(wget -q -O- "${URL}/sha256sums.txt" | head -n1 | cut -d'-' -f5) DATE=$(wget -q -O- "${URL}/sha256sums.txt" | head -n1 | cut -d'-' -f5)
ISO="chimera-linux-x86_64-LIVE-${DATE}-${EDITION}.iso" 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) HASH=$(wget -q -O- "${URL}/sha256sums.txt" | grep 'x86_64-LIVE' | grep "${EDITION}" | cut -d' ' -f1)
}
function get_crunchbang++() {
local HASH=""
local ISO=""
local URL=""
local URLPART=""
local URLPART2=""
URLPART="https://github.com/CBPP/cbpp"
case ${RELEASE} in
8)
URLPART2="releases/download/v1.0-amd64"
ISO="cbpp-1.0-amd64-20150428.iso"
;;
9)
URLPART2="9-amd64/releases/download/v9.0"
ISO="cbpp-9.0-amd64-20170621.iso"
;;
10)
URLPART2="releases/download/v10"
ISO="cbpp-10.1-amd64-20190713.iso"
;;
11)
URLPART2="releases/download/v11.2"
ISO="cbpp-11.2-amd64-20230514.iso"
;;
12)
URLPART2="releases/download/v12.0"
ISO="cbpp-12.0-amd64-20230611.iso"
;;
esac
URL="${URLPART}/${URLPART2}"
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }