fix(quickget): handle Solus Xfce beta naming for older releases
Xfce was a beta edition with uppercase naming (XFCE-Beta) in releases prior to 2025-11-29. Fall back to beta naming when standard fails.
This commit is contained in:
parent
e560c22d69
commit
5b67c0808f
9
quickget
9
quickget
|
|
@ -2522,8 +2522,15 @@ function get_slitaz() {
|
|||
|
||||
function get_solus() {
|
||||
local HASH=""
|
||||
local ISO="Solus-${EDITION}-Release-${RELEASE}.iso"
|
||||
local ISO=""
|
||||
local URL="https://downloads.getsol.us/isos/${RELEASE}"
|
||||
# Try standard naming first, then beta naming for Xfce (older releases had Xfce as beta)
|
||||
ISO="Solus-${EDITION}-Release-${RELEASE}.iso"
|
||||
if ! web_check "${URL}/${ISO}"; then
|
||||
# Try uppercase XFCE-Beta naming for older releases
|
||||
local EDITION_UPPER="${EDITION^^}"
|
||||
ISO="Solus-${EDITION_UPPER}-Beta-Release-${RELEASE}.iso"
|
||||
fi
|
||||
HASH=$(web_pipe "${URL}/${ISO}.sha256sum" | cut -d' ' -f1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue