fix(quickget): support new kde neon directory structure with editions

This commit is contained in:
MightyCoderX 2026-06-22 15:45:39 +02:00
parent 82df57dadf
commit 0f5f9a885b
1 changed files with 7 additions and 3 deletions

View File

@ -685,6 +685,10 @@ function editions_chimeralinux() {
echo base gnome
}
function editions_kdeneon() {
echo bigscreen desktop dev ko mobile
}
function releases_crunchbang++() {
#shellcheck disable=SC2046,SC2005
echo $(web_pipe "https://api.github.com/repos/CBPP/cbpp/releases" | grep 'download_url' | cut -d'-' -f2 | grep '^[0-9]' | sort -gru)
@ -2223,9 +2227,9 @@ function get_kali() {
function get_kdeneon() {
local HASH=""
local ISO=""
local URL="https://files.kde.org/neon/images/${RELEASE}/current"
ISO=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-)
HASH=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1)
local URL="https://files.kde.org/neon/images/${EDITION}/${RELEASE}/current"
ISO=$(web_pipe "${URL}/neon-${RELEASE}-${EDITION}-current.sha256sum" | cut -d' ' -f3-)
HASH=$(web_pipe "${URL}/neon-${RELEASE}-${EDITION}-current.sha256sum" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}