From 0db9cac976448ff62653082ee0739906b18637dd 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 4e0279f63e..9dd8c7bdf1 100755 --- a/quickget +++ b/quickget @@ -232,6 +232,7 @@ function os_support() { siduction \ slackware \ solus \ + spiral \ tails \ trisquel \ truenas-core \ @@ -613,6 +614,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 } @@ -1787,6 +1796,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=""