refactor: update slint to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:17:51 +01:00 committed by Martin Wimpress
parent b07b5cdec2
commit ec142f6cdc
1 changed files with 1 additions and 1 deletions

View File

@ -2740,7 +2740,7 @@ function get_slint() {
# Change to latest if needed # Change to latest if needed
ISO="slint64-15.0-5.iso" ISO="slint64-15.0-5.iso"
URL="https://slackware.uk/slint/x86_64/slint-${RELEASE}/iso" URL="https://slackware.uk/slint/x86_64/slint-${RELEASE}/iso"
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f4) HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f4)
echo "${URL}/${ISO}" "${HASH}" echo "${URL}/${ISO}" "${HASH}"
} }