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 \ devuan \
dietpi \ dietpi \
dragonflybsd \ dragonflybsd \
edubuntu \
elementary \ elementary \
endeavouros \ endeavouros \
endless \ endless \
@ -410,6 +411,10 @@ function releases_dragonflybsd() {
echo $DBSD_RELEASES echo $DBSD_RELEASES
} }
function releases_edubuntu() {
echo 23.04
}
function releases_elementary() { function releases_elementary() {
echo 7.0 echo 7.0
} }
@ -719,7 +724,8 @@ function releases_ubuntu() {
daily-live \ daily-live \
daily-canary \ daily-canary \
; ;
elif [ "${OS}" == "edubuntu" ]; then
echo "23.04"
else else
echo ${LTS_SUPPORT} \ echo ${LTS_SUPPORT} \
${INTERIM_SUPPORT} \ ${INTERIM_SUPPORT} \
@ -1408,6 +1414,15 @@ function get_dragonflybsd() {
echo "${URL}/${ISO} ${HASH}" 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() { function get_elementary() {
local HASH="" local HASH=""
case ${RELEASE} in case ${RELEASE} in