refactor: update lmde to use web_pipe()

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

View File

@ -2318,7 +2318,7 @@ function get_lmde() {
local HASH="" local HASH=""
local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso" local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso"
local URL="https://mirror.bytemark.co.uk/linuxmint/debian" local URL="https://mirror.bytemark.co.uk/linuxmint/debian"
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}" echo "${URL}/${ISO} ${HASH}"
} }