refactor: update rebornos to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-20 10:35:00 +01:00 committed by Martin Wimpress
parent b2bcf036f8
commit 1b42fbeda3
1 changed files with 2 additions and 2 deletions

View File

@ -1200,8 +1200,8 @@ function releases_rebornos() {
}
function get_rebornos() {
local ISO=$(wget -q -O- "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 ISO=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".url")
local HASH=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".md5")
echo "${ISO} ${HASH}"
}