refactor: update porteus to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:14:58 +01:00 committed by Martin Wimpress
parent 9bf12fee68
commit f35524f8a3
1 changed files with 1 additions and 1 deletions

View File

@ -2643,7 +2643,7 @@ function get_porteus() {
edition="${EDITION~~}"
ISO="Porteus-${edition}-v${RELEASE}-x86_64.iso"
URL="https://mirrors.dotsrc.org/porteus/x86_64/Porteus-v${RELEASE}"
HASH=$(wget -q -O- "${URL}/sha256sums.txt" | grep "${ISO}" | cut_1)
HASH=$(web_pipe "${URL}/sha256sums.txt" | grep "${ISO}" | cut_1)
echo "${URL}/${ISO} ${HASH}"
}