From 6c68906e69c50b66006c0158c34bfb6d63c4d6f9 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sun, 9 Apr 2023 01:11:17 +0000 Subject: [PATCH] feat(quickget): add support for gabeeOS qtile and budgie editions --- quickget | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/quickget b/quickget index 9bccecc..4ff8216 100755 --- a/quickget +++ b/quickget @@ -430,6 +430,10 @@ function releases_gabeeos() { echo latest } +function editions_gabeeos() { + echo qtile budgie +} + function releases_garuda() { echo latest } @@ -1430,8 +1434,18 @@ function get_gabeeos() { local URL="" local TMPURL="" - TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/gabeeos/files/latest/download" 2>&1 | grep -i Location | cut -d' ' -f4) - URL=${TMPURL%\?*} + case ${EDITION} in + qtile) + ISO="gabeeOSLinux-Qtile-x86_64-6.1.21_1-20230405.iso" + URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/Qtile/beta/${ISO}/download" + ;; + budgie) + ISO="gabeeos-live-BUDGIE-CALAMARES-x86_64-6.0.10_1-20221206.iso" + URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/Budgie/${ISO}/download" + ;; + esac +#https://sourceforge.net/projects/gabeeoslinux/files/Distro/Budgie/gabeeos-live-BUDGIE-CALAMARES-x86_64-6.0.10_1-20221206.iso/download +#https://sourceforge.net/projects/gabeeoslinux/files/Distro/Qtile/beta/gabeeOSLinux-Qtile-x86_64-6.1.21_1-20230405.iso/download echo "${URL} ${HASH}" } @@ -1444,7 +1458,7 @@ function get_garuda() { ISO=${EDITION}/latest.iso HASH="$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)" - echo "${URL}/${ISO} ${HASH}" + echo "${URL} ${HASH}" } function get_gentoo() {