Skip to content

Commit

Permalink
Add CROWZ /no hash/
Browse files Browse the repository at this point in the history
  • Loading branch information
zenobit committed Oct 12, 2023
1 parent c7e91a0 commit fcc9f73
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ function os_support() {
blendos \
cachyos \
centos-stream \
crowz \
debian \
deepin \
devuan \
Expand Down Expand Up @@ -309,6 +310,14 @@ function editions_centos-stream() {
echo dvd1 boot
}

function releases_crowz() {
echo 3.0 4.0 5.0
}

function editions_crowz() {
echo openbox jwm fluxbox
}

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 )
Expand Down Expand Up @@ -1130,6 +1139,32 @@ function get_centos-stream() {
echo "${URL}/${ISO} ${HASH}"
}

function get_crowz() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL="https://sourceforge.net/projects/crowz/files"

case ${EDITION} in
openbox) EDIT="ob";;
fluxbox) EDIT="fb";;
jwm) EDIT="jwm";;
esac

case ${RELEASE} in
5.0) ISO="crowz-${RELEASE}-daedalus_2023.10-${EDIT}-amd64.iso";;
4.0) ISO="crowz-${RELEASE}-chimaera-2022.7-${EDIT}-amd64.iso";;
3.0) ISO="crowz-${RELEASE}-beowulf-2020.8-${EDIT}-amd64.iso";;
esac

if [[ ${RELEASE} = "4.0" && ${EDITION} = "openbox" ]] ; then
ISO="crowz-4.0-chimaera-2022-7-ob-amd64.iso"
fi

#HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)
echo "${URL}/${ISO} #${HASH}"
}

function get_debian() {
local EDITION="${1:-}"
local HASH=""
Expand Down

0 comments on commit fcc9f73

Please sign in to comment.