refactor: update linuxmint to use web_pipe()

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

View File

@ -2309,7 +2309,7 @@ function get_linuxmint() {
local HASH=""
local ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso"
local URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}"
HASH=$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut_1)
HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut_1)
echo "${URL}/${ISO} ${HASH}"
}