refactor: update linuxlite to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:05:03 +01:00 committed by Martin Wimpress
parent 3b01fb26dd
commit 86ed099283
1 changed files with 1 additions and 1 deletions

View File

@ -2300,7 +2300,7 @@ function get_linuxlite() {
local HASH="" local HASH=""
local ISO="linux-lite-${RELEASE}-64bit.iso" local ISO="linux-lite-${RELEASE}-64bit.iso"
local URL="https://sourceforge.net/projects/linux-lite/files/${RELEASE}" local URL="https://sourceforge.net/projects/linux-lite/files/${RELEASE}"
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut_1) HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }