refactor: update openbsd to use web_pipe()
This commit is contained in:
parent
6c95750fe2
commit
fc95daed9f
2
quickget
2
quickget
|
@ -2543,7 +2543,7 @@ function get_openbsd() {
|
|||
local HASH=""
|
||||
local ISO="install${RELEASE//\./}.iso"
|
||||
local URL="https://mirror.leaseweb.com/pub/OpenBSD/${RELEASE}/amd64"
|
||||
HASH=$(wget -q -O- "${URL}/SHA256" | grep "${ISO}" | cut -d' ' -f4)
|
||||
HASH=$(web_pipe "${URL}/SHA256" | grep "${ISO}" | cut -d' ' -f4)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue