Skip to content

Commit

Permalink
fix: get sparky info from mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford authored and flexiondotorg committed Aug 27, 2024
1 parent 1f0dc50 commit 75bd81d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -991,12 +991,17 @@ function editions_solus() {

function releases_sparkylinux() {
#shellcheck disable=SC2046,SC2005
echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep "ISO image" | cut -d'-' -f3 | sort -ru)
echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-.*\.iso\"" | cut -d'-' -f2 | sort -ru)
}

function editions_sparkylinux() {
#shellcheck disable=SC2046,SC2005
echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep "ISO image" | cut -d'-' -f5 | cut -d'.' -f 1 | sort -u)
if [ -z "${RELEASE}" ]; then
echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-.*\.iso\"" | cut -d'-' -f4 | cut -d'.' -f1 | sort -u)
else
echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-${RELEASE}-.*\.iso\"" | cut -d'-' -f4 | cut -d'.' -f1 | sort -u)
fi

}

function releases_spirallinux() {
Expand Down

0 comments on commit 75bd81d

Please sign in to comment.