From 265be797776889bc1c96149fa8fa7bb396ffaad7 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sun, 8 Oct 2023 03:18:34 +0200 Subject: [PATCH] Add SpiralLinux --- quickget | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/quickget b/quickget index 00e59f1..cb2f20e 100755 --- a/quickget +++ b/quickget @@ -235,6 +235,7 @@ function os_support() { siduction \ slackware \ solus \ + spiral \ tails \ tinycore \ trisquel \ @@ -633,6 +634,14 @@ function editions_solus() { echo Budgie GNOME MATE Plasma } +function releases_spiral() { + echo latest +} + +function editions_spiral() { + echo Plasma XFCE Mate LXQt Gnome Budgie Cinnamon Builder +} + function releases_tails() { echo stable } @@ -1861,6 +1870,16 @@ function get_solus() { echo "${URL}/${ISO} ${HASH}" } +function get_spiral() { + local EDITION="${1:-}" + local HASH="" + local ISO="SpiralLinux_${EDITION}_12.231005_x86-64.iso" + local URL="https://sourceforge.net/projects/spirallinux/files/12.231005" + + HASH=$(wget -q -O- 'https://sourceforge.net/projects/spirallinux/rss?path=/' | grep "${ISO}" | grep 'md5' | cut -d'<' -f3 | cut -d'>' -f2) + echo "${URL}/${ISO}" "${HASH}" +} + function get_tails() { local ISO="" local JSON=""