refactor: update vxlinux to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:53:04 +01:00 committed by Martin Wimpress
parent 50d6ff045e
commit cbd03d7824
1 changed files with 1 additions and 1 deletions

View File

@ -2954,7 +2954,7 @@ function get_vxlinux() {
local HASH="" local HASH=""
local ISO="vx-${RELEASE}.iso" local ISO="vx-${RELEASE}.iso"
local URL="https://github.com/VX-Linux/main/releases/download/${RELEASE}" local URL="https://github.com/VX-Linux/main/releases/download/${RELEASE}"
HASH=$(wget -q -O- "${URL}/vx-${RELEASE}.md5" | cut -d' ' -f1) HASH=$(web_pipe "${URL}/vx-${RELEASE}.md5" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }