chore: Move get_rebornos function
This commit is contained in:
parent
07b1284d2a
commit
a2b6250680
14
quickget
14
quickget
|
@ -1158,12 +1158,6 @@ function releases_rebornos() {
|
||||||
echo latest
|
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() {
|
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
|
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}"
|
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() {
|
function get_rockylinux() {
|
||||||
local EDITION="${1:-}"
|
local EDITION="${1:-}"
|
||||||
if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]]
|
if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]]
|
||||||
|
|
Loading…
Reference in New Issue