refactor: update primtux to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:15:24 +01:00 committed by Martin Wimpress
parent f35524f8a3
commit 2e9b650711
1 changed files with 1 additions and 1 deletions

View File

@ -2653,7 +2653,7 @@ function get_primtux() {
local ISO="" local ISO=""
ISO="PrimTux${RELEASE}-amd64-${EDITION}.iso" ISO="PrimTux${RELEASE}-amd64-${EDITION}.iso"
URL="https://sourceforge.net/projects/primtux/files/Distribution" URL="https://sourceforge.net/projects/primtux/files/Distribution"
HASH=$(wget -q -O- "${URL}/${ISO}.md5" | grep "${ISO}" | cut_1) HASH=$(web_pipe "${URL}/${ISO}.md5" | grep "${ISO}" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }