Add Edubuntu

This commit is contained in:
zenobit 2023-09-16 10:40:21 +02:00
parent bf75bf53e3
commit 8d16fce503

View file

@ -210,6 +210,7 @@ function os_support() {
devuan \
dietpi \
dragonflybsd \
edubuntu \
elementary \
endeavouros \
endless \
@ -410,6 +411,10 @@ function releases_dragonflybsd() {
echo $DBSD_RELEASES
}
function releases_edubuntu() {
echo 23.04
}
function releases_elementary() {
echo 7.0
}
@ -719,7 +724,8 @@ function releases_ubuntu() {
daily-live \
daily-canary \
;
elif [ "${OS}" == "edubuntu" ]; then
echo "23.04"
else
echo ${LTS_SUPPORT} \
${INTERIM_SUPPORT} \
@ -1408,6 +1414,15 @@ function get_dragonflybsd() {
echo "${URL}/${ISO} ${HASH}"
}
function get_edubuntu() {
local HASH=""
local ISO="edubuntu-${RELEASE}-desktop-amd64.iso"
local URL="https://cdimages.ubuntu.com/edubuntu/releases/${RELEASE}/release"
HASH=$(wget -q -O- "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_elementary() {
local HASH=""
case ${RELEASE} in