refactor: update arcolinux to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:10:11 +01:00 committed by Martin Wimpress
parent 4b1b6f8382
commit 873e3b0bcc
1 changed files with 1 additions and 1 deletions

View File

@ -1836,7 +1836,7 @@ function get_arcolinux() {
local HASH=""
local ISO="arcolinux${EDITION:0:1}-${RELEASE}-x86_64.iso"
local URL="https://ant.seedhost.eu/arcolinux/iso/${RELEASE}"
HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | cut_1)
HASH=$(web_pipe "${URL}/${ISO}.sha1" | cut_1)
echo "${URL}/${ISO} ${HASH}"
}