Skip to content

Commit

Permalink
Add SparkyLinux
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Oct 18, 2023
1 parent be81b68 commit 119f145
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function pretty_name() {
reactos) PRETTY_NAME="ReactOS";;
rebornos) PRETTY_NAME="RebornOS";;
rockylinux) PRETTY_NAME="Rocky Linux";;
sparky) PRETTY_NAME="SparkyLinux";;
truenas-core) PRETTY_NAME="TrueNAS Core";;
truenas-scale) PRETTY_NAME="TrueNAS Scale";;
ubuntu-budgie) PRETTY_NAME="Ubuntu Budgie";;
Expand Down Expand Up @@ -232,6 +233,7 @@ function os_support() {
siduction \
slackware \
solus \
sparky \
tails \
trisquel \
truenas-core \
Expand Down Expand Up @@ -613,6 +615,14 @@ function editions_solus() {
echo Budgie GNOME MATE Plasma
}

function releases_sparky() {
echo 7.1 2023.07
}

function editions_sparky() {
echo lxqt mate xfce kde minimalgui minimalcli gameover multimedia rescue
}

function releases_tails() {
echo stable
}
Expand Down Expand Up @@ -1787,6 +1797,23 @@ function get_solus() {
echo "${URL}/${ISO} ${HASH}"
}

function get_sparky() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL=""

ISO="sparkylinux-${RELEASE}-x86_64-${EDITION}.iso"
case ${EDITION} in
minimalcli) URL="https://sourceforge.net/projects/sparkylinux/files/cli";;
minimalgui) URL="https://sourceforge.net/projects/sparkylinux/files/base";;
*) URL="https://sourceforge.net/projects/sparkylinux/files/${EDITION}";;
esac

HASH=$(wget -q -O- ${URL}/${ISO}.allsums.txt | head -2 | grep 'iso' | cut -d' ' -f1)
echo "${URL}/${ISO}" "${HASH}"
}

function get_tails() {
local ISO=""
local JSON=""
Expand Down

0 comments on commit 119f145

Please sign in to comment.