Adding ubuntu unity (#584)

* ubuntu unity

* hiding previous releases from echo output

* displaying ubuntu-unity releases more effectively

* added ubuntu-unity to README

* switch from if-not to else

* remove redundant whitespace

* added fedora 37

* removed fedora 37

* removed LTS_SUPPORT definitions
This commit is contained in:
interorbital 2022-11-20 21:00:27 +02:00 committed by GitHub
parent 116923d7a8
commit 41b1e11cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 42 deletions

View File

@ -225,6 +225,7 @@ with your preferred flavour.
- `ubuntukylin` (Ubuntu Kylin)
- `ubuntu-mate` (Ubuntu MATE)
- `ubuntustudio` (Ubuntu Studio)
- `ubuntu-unity` (Ubuntu Unity)
- `ubuntu` (Ubuntu)
- `xubuntu` (Xubuntu)

View File

@ -64,6 +64,7 @@ function pretty_name() {
ubuntukylin) PRETTY_NAME="Ubuntu Kylin";;
ubuntu-mate) PRETTY_NAME="Ubuntu MATE";;
ubuntustudio) PRETTY_NAME="Ubuntu Studio";;
ubuntu-unity) PRETTY_NAME="Ubuntu Unity";;
void) PRETTY_NAME="Void Linux";;
zorin) PRETTY_NAME="Zorin OS";;
*) PRETTY_NAME="${SIMPLE_NAME^}";;
@ -208,6 +209,7 @@ function os_support() {
ubuntukylin \
ubuntu-mate \
ubuntustudio \
ubuntu-unity \
void \
windows \
xubuntu \
@ -492,52 +494,62 @@ function releases_ubuntu() {
#after 16.04
LTS_SUPPORT="${LTS_SUPPORT/14.04 16.04 /}"
;;
ubuntu-unity)
INTERIM_SUPPORT="${INTERIM_SUPPORT}"
;;
esac
INTERIM_SUPPORT="${INTERIM_SUPPORT/22.10 /}"
echo ${LTS_SUPPORT} \
${INTERIM_SUPPORT} \
jammy-daily \
daily-live \
daily-canary \
eol-4.10 \
eol-5.04 \
eol-5.10 \
eol-6.06.0 eol-6.06.1 eol-6.06.2 \
eol-6.10 \
eol-7.04 \
eol-7.10 \
eol-8.04.0 eol-8.04.1 eol-8.04.2 eol-8.04.3 eol-8.04.4 \
eol-8.10 \
eol-9.04 \
eol-9.10 \
eol-10.04.0 eol-10.04.1 eol-10.04.2 eol-10.04.3 eol-10.04.4 \
eol-10.10 \
eol-11.04 \
eol-11.10 \
eol-12.04 eol-12.04.0 eol-12.04.1 eol-12.04.2 eol-12.04.3 eol-12.04.4 eol-12.04.5 \
eol-12.10 \
eol-13.04 \
eol-13.10 \
eol-14.04.0 eol-14.04.1 eol-14.04.2 eol-14.04.3 eol-14.04.4 eol-14.04.5 \
eol-14.10 \
eol-15.04 \
eol-15.10 \
eol-16.04.0 eol-16.04.1 eol-16.04.2 eol-16.04.3 eol-16.04.4 eol-16.04.5 eol-16.04.6 \
eol-16.10 \
eol-17.04 \
eol-17.10 \
eol-18.04 eol-18.04.0 eol-18.04.1 eol-18.04.2 eol-18.04.3 eol-18.04.4 eol-18.04.5 \
eol-18.10 \
eol-19.04 \
eol-19.10 \
eol-20.04 eol-20.04.0 eol-20.04.1 eol-20.04.2 \
eol-20.10 \
eol-21.04 \
eol-21.10 \
;
if [ "${OS}" == "ubuntu-unity" ]; then
echo ${INTERIM_SUPPORT} \
daily-live \
daily-canary \
;
else
echo ${LTS_SUPPORT} \
${INTERIM_SUPPORT} \
jammy-daily \
daily-live \
daily-canary \
eol-4.10 \
eol-5.04 \
eol-5.10 \
eol-6.06.0 eol-6.06.1 eol-6.06.2 \
eol-6.10 \
eol-7.04 \
eol-7.10 \
eol-8.04.0 eol-8.04.1 eol-8.04.2 eol-8.04.3 eol-8.04.4 \
eol-8.10 \
eol-9.04 \
eol-9.10 \
eol-10.04.0 eol-10.04.1 eol-10.04.2 eol-10.04.3 eol-10.04.4 \
eol-10.10 \
eol-11.04 \
eol-11.10 \
eol-12.04 eol-12.04.0 eol-12.04.1 eol-12.04.2 eol-12.04.3 eol-12.04.4 eol-12.04.5 \
eol-12.10 \
eol-13.04 \
eol-13.10 \
eol-14.04.0 eol-14.04.1 eol-14.04.2 eol-14.04.3 eol-14.04.4 eol-14.04.5 \
eol-14.10 \
eol-15.04 \
eol-15.10 \
eol-16.04.0 eol-16.04.1 eol-16.04.2 eol-16.04.3 eol-16.04.4 eol-16.04.5 eol-16.04.6 \
eol-16.10 \
eol-17.04 \
eol-17.10 \
eol-18.04 eol-18.04.0 eol-18.04.1 eol-18.04.2 eol-18.04.3 eol-18.04.4 eol-18.04.5 \
eol-18.10 \
eol-19.04 \
eol-19.10 \
eol-20.04 eol-20.04.0 eol-20.04.1 eol-20.04.2 \
eol-20.10 \
eol-21.04 \
eol-21.10 \
;
fi
}
function releases_void() {