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() {
|
function get_holoiso() {
|
||||||
#local HASH=""
|
local HASH=""
|
||||||
local URL
|
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)
|
||||||
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} ${HASH}"
|
||||||
echo "${URL}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_kali() {
|
function get_kali() {
|
||||||
|
|
Loading…
Reference in New Issue