Add SpiralLinux

This commit is contained in:
zenobit 2023-10-08 03:18:34 +02:00 committed by Martin Wimpress
parent ad0f1f2d3d
commit 265be79777

View File

@ -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=""