mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-03 05:25:32 +02:00
refactor: update rockylinux to use web_pipe()
This commit is contained in:
parent
b69c62e051
commit
681ee3a9aa
2
quickget
2
quickget
|
@ -2692,7 +2692,7 @@ function get_rockylinux() {
|
|||
local ISO="Rocky-${RELEASE}-x86_64-${EDITION}.iso"
|
||||
local URL=""
|
||||
URL="http://dl.rockylinux.org/vault/rocky/${RELEASE}/isos/x86_64"
|
||||
HASH=$(wget -q -O- "${URL}/CHECKSUM" | grep "SHA256" | grep "${ISO})" | cut -d' ' -f4)
|
||||
HASH=$(web_pipe "${URL}/CHECKSUM" | grep "SHA256" | grep "${ISO})" | cut -d' ' -f4)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user