kdeneon update

This commit is contained in:
zenobit 2025-02-14 03:32:53 +01:00
parent 53210feeaf
commit 615e7857f7
1 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,11 @@ function get_() {
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-)
if [ "$RELEASE" == 'developer' ]; then
ISO=$(web_pipe "${URL}/neon-unstable-${RELEASE}-current.sha256sum" | cut -d' ' -f3-)
else
ISO=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-)
fi
HASH=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}