refactor: update kdeneon to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:04:35 +01:00 committed by Martin Wimpress
parent 30dd6a9cd0
commit 3b01fb26dd
1 changed files with 2 additions and 2 deletions

View File

@ -2284,8 +2284,8 @@ function get_kdeneon() {
local HASH="" local HASH=""
local ISO="" local ISO=""
local URL="https://files.kde.org/neon/images/${RELEASE}/current" local URL="https://files.kde.org/neon/images/${RELEASE}/current"
ISO=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-) ISO=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-)
HASH=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut_1) HASH=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }