vanillaos (change position in script NO CODE CHANGE)

This commit is contained in:
zenobit 2023-09-14 15:38:11 +02:00
parent 7d62bf1e59
commit 6ddb96f255

View file

@ -1233,17 +1233,6 @@ function get_bodhi() {
echo "${URL}/${ISO} ${HASH}"
}
function get_vanillaos() {
# maybe use github api and dynamism for R2.0 but for 22.10 just
# hit their CDN
#
# https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.md5.txt
# https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt
local HASH=$(curl -s "https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt" | cut -d' ' -f1)
local URL="https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.iso"
echo "${URL} ${HASH}"
}
function get_cachyos() {
local HASH=""
local ISO="cachyos-${EDITION}-linux-${RELEASE}.iso"
@ -2038,6 +2027,17 @@ function get_ubuntu() {
fi
}
function get_vanillaos() {
# maybe use github api and dynamism for R2.0 but for 22.10 just
# hit their CDN
#
# https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.md5.txt
# https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt
local HASH=$(curl -s "https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt" | cut -d' ' -f1)
local URL="https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.iso"
echo "${URL} ${HASH}"
}
function get_void() {
local DATE=""
local EDITION="${1:-}"