qg: Add #!++

This commit is contained in:
zenobit 2023-12-21 09:48:42 +01:00 committed by zenobit
parent 3bbde6f4fc
commit 43d1d2b907

View file

@ -74,6 +74,7 @@ function pretty_name() {
centos-stream) PRETTY_NAME="CentOS Stream";;
cereus) PRETTY_NAME="Cereus Linux";;
chimera) PRETTY_NAME="Chimera Linux";;
crunchbang++) PRETTY_NAME="Crunchbangplusplus";;
devuan) PRETTY_NAME="Devuan";;
dietpi) PRETTY_NAME="DietPi";;
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
@ -247,6 +248,7 @@ function os_support() {
centos-stream \
cereus \
chimeralinux \
crunchbang++ \
debian \
deepin \
devuan \
@ -351,6 +353,7 @@ function os_homepages(){
centos-stream) HOMEPAGE="https://www.centos.org/centos-stream/";;
cereues) HOMEPAGE="https://sourceforge.net/projects/cereus-linux/";;
chimeralinux) HOMEPAGE="https://chimera-linux.org/";;
crunchbang++) HOMEPAGE="https://www.crunchbangplusplus.org/";;
debian) HOMEPAGE="https://www.debian.org/";;
deepin) HOMEPAGE="https://www.deepin.org/";;
devuan) HOMEPAGE="https://www.devuan.org/";;
@ -494,6 +497,10 @@ function editions_chimeralinux() {
echo base gnome
}
function releases_crunchbang++() {
echo 8 9 10 11 12
}
function releases_dietpi() {
echo bios uefi
}
@ -1354,7 +1361,7 @@ EOF
exit 0
}
# QUICKEMU-EXTENDED ONLY DISTROS!
# QUICKGET-EXTENDED ONLY DISTROS!
function get_agarimos() {
local EDITION="${1:-}"
@ -1460,6 +1467,42 @@ function get_chimeralinux() {
echo "${URL}/${ISO} ${HASH}"
}
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}"
}
function get_dietpi() {
local HASH=""
local ISO=""