mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-03 05:25:32 +02:00
refactor: update holoiso to use web_pipe()
This commit is contained in:
parent
b11dcdc0fa
commit
297fa080f3
7
quickget
7
quickget
|
@ -2266,10 +2266,9 @@ function get_haiku() {
|
|||
}
|
||||
|
||||
function get_holoiso() {
|
||||
#local HASH=""
|
||||
local URL
|
||||
URL=$(wget -q -O- "https://api.github.com/repos/HoloISO/releases/releases" | jq ".[] | select(.tag_name==\"${RELEASE}\") | .body" | grep -Po "https://\S+holoiso.ru.eu.org/\S+.iso" | head -n 1)
|
||||
echo "${URL}"
|
||||
local HASH=""
|
||||
local URL=$(web_pipe "https://api.github.com/repos/HoloISO/releases/releases" | jq ".[] | select(.tag_name==\"${RELEASE}\") | .body" | grep -Po "https://\S+holoiso.ru.eu.org/\S+.iso" | head -n 1)
|
||||
echo "${URL} ${HASH}"
|
||||
}
|
||||
|
||||
function get_kali() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user