refactor: update rebornos to use web_pipe()
This commit is contained in:
parent
b2bcf036f8
commit
1b42fbeda3
4
quickget
4
quickget
|
@ -1200,8 +1200,8 @@ function releases_rebornos() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_rebornos() {
|
function get_rebornos() {
|
||||||
local ISO=$(wget -q -O- "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".url")
|
local ISO=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".url")
|
||||||
local HASH=$(wget -q -O- "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".md5")
|
local HASH=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".md5")
|
||||||
echo "${ISO} ${HASH}"
|
echo "${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue