chore: Move get_rebornos function

This commit is contained in:
zen0bit 2024-04-21 08:11:56 +02:00 committed by Martin Wimpress
parent 07b1284d2a
commit a2b6250680

View File

@ -1158,12 +1158,6 @@ function releases_rebornos() {
echo latest
}
function get_rebornos() {
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}"
}
function releases_rockylinux() {
echo 9.3 9.2 9.1 9.0 8.9 8.8 8.7 8.6 8.5 8.4 8.3
}
@ -2586,6 +2580,14 @@ function get_reactos() {
echo "${URL} ${HASH}"
}
function get_rebornos() {
local ISO=""
local HASH=""
ISO=$(wget -q -O- "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".url")
HASH=$(wget -q -O- "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".md5")
echo "${ISO} ${HASH}"
}
function get_rockylinux() {
local EDITION="${1:-}"
if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]]