refactor: update vxlinux to use web_pipe()
This commit is contained in:
parent
50d6ff045e
commit
cbd03d7824
2
quickget
2
quickget
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue