mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-13 18:34:16 +02:00
fix: solus downloads work and releases_solus() and editions_solus() are dynamic
This commit is contained in:
parent
ade6860696
commit
3099d7e96d
6
quickget
6
quickget
|
@ -1028,11 +1028,11 @@ function releases_slitaz() {
|
|||
}
|
||||
|
||||
function releases_solus() {
|
||||
echo 4.5
|
||||
echo $(web_pipe "https://getsol.us/download/" | grep "isos" | grep Download | cut -d'-' -f 2 | sort -ru)
|
||||
}
|
||||
|
||||
function editions_solus() {
|
||||
echo Budgie GNOME MATE Plasma
|
||||
echo $(web_pipe "https://getsol.us/download/" | grep "isos" | grep Download | cut -d'.' -f5 | cut -d'-' -f2- | sort -u)
|
||||
}
|
||||
|
||||
function releases_sparkylinux() {
|
||||
|
@ -2418,7 +2418,7 @@ function get_slitaz() {
|
|||
function get_solus() {
|
||||
local HASH=""
|
||||
local ISO="Solus-${RELEASE}-${EDITION}.iso"
|
||||
local URL="https://mirrors.rit.edu/solus/images/${RELEASE}"
|
||||
local URL="https://downloads.getsol.us/isos/${RELEASE}"
|
||||
HASH=$(web_pipe "${URL}/${ISO}.sha256sum" | cut_1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user