Prepare for 23.04 and add Ubuntu Cinnamon

This commit is contained in:
zenobit 2023-04-01 19:07:14 +02:00
parent 5a78cbdb86
commit 74e492fe7c
2 changed files with 11 additions and 4 deletions

View File

@ -75,6 +75,7 @@ function pretty_name() {
truenas-core) PRETTY_NAME="TrueNAS Core";;
truenas-scale) PRETTY_NAME="TrueNAS Scale";;
ubuntu-budgie) PRETTY_NAME="Ubuntu Budgie";;
ubuntucinnamon) PRETTY_NAME="Ubuntu Cinnamon";;
ubuntukylin) PRETTY_NAME="Ubuntu Kylin";;
ubuntu-mate) PRETTY_NAME="Ubuntu MATE";;
ubuntustudio) PRETTY_NAME="Ubuntu Studio";;
@ -239,6 +240,7 @@ function os_support() {
truenas-scale \
ubuntu \
ubuntu-budgie \
ubuntucinnamon \
ubuntukylin \
ubuntu-mate \
ubuntustudio \
@ -630,7 +632,7 @@ function releases_truenas-scale() {
function releases_ubuntu() {
local LTS_SUPPORT="14.04 16.04 18.04 20.04 22.04"
local INTERIM_SUPPORT="22.10"
local INTERIM_SUPPORT="22.10 23.04"
case "${OS}" in
kubuntu|lubuntu|ubuntukylin|\
@ -645,14 +647,17 @@ function releases_ubuntu() {
ubuntu-unity)
INTERIM_SUPPORT="${INTERIM_SUPPORT}"
;;
ubuntucinnamon)
INTERIM_SUPPORT="${INTERIM_SUPPORT/22.10 /}"
;;
esac
INTERIM_SUPPORT="${INTERIM_SUPPORT/22.10 /}"
#INTERIM_SUPPORT="${INTERIM_SUPPORT/22.10 /}"
if [ "${OS}" == "ubuntu-unity" ]; then
if [ "${OS}" == "ubuntu-unity" ] || [ "${OS}" == "ubuntucinnamon" ]; then
echo ${INTERIM_SUPPORT} \
daily-live \
daily-canary \
daily-canary \
;
else
@ -2618,3 +2623,4 @@ else
fi
# vim:tabstop=4:shiftwidth=4:expandtab

View File

@ -59,6 +59,7 @@ truenas-core
truenas-scale
ubuntu
ubuntu-budgie
ubuntucinnamon
ubuntukylin
ubuntu-mate
ubuntustudio