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
pull/588/head
interorbital 2 years ago committed by GitHub
parent 116923d7a8
commit 41b1e11cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md
  2. 96
      quickget

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

@ -64,6 +64,7 @@ function pretty_name() {
ubuntukylin) PRETTY_NAME="Ubuntu Kylin";; ubuntukylin) PRETTY_NAME="Ubuntu Kylin";;
ubuntu-mate) PRETTY_NAME="Ubuntu MATE";; ubuntu-mate) PRETTY_NAME="Ubuntu MATE";;
ubuntustudio) PRETTY_NAME="Ubuntu Studio";; ubuntustudio) PRETTY_NAME="Ubuntu Studio";;
ubuntu-unity) PRETTY_NAME="Ubuntu Unity";;
void) PRETTY_NAME="Void Linux";; void) PRETTY_NAME="Void Linux";;
zorin) PRETTY_NAME="Zorin OS";; zorin) PRETTY_NAME="Zorin OS";;
*) PRETTY_NAME="${SIMPLE_NAME^}";; *) PRETTY_NAME="${SIMPLE_NAME^}";;
@ -208,6 +209,7 @@ function os_support() {
ubuntukylin \ ubuntukylin \
ubuntu-mate \ ubuntu-mate \
ubuntustudio \ ubuntustudio \
ubuntu-unity \
void \ void \
windows \ windows \
xubuntu \ xubuntu \
@ -492,52 +494,62 @@ function releases_ubuntu() {
#after 16.04 #after 16.04
LTS_SUPPORT="${LTS_SUPPORT/14.04 16.04 /}" LTS_SUPPORT="${LTS_SUPPORT/14.04 16.04 /}"
;; ;;
ubuntu-unity)
INTERIM_SUPPORT="${INTERIM_SUPPORT}"
;;
esac esac
INTERIM_SUPPORT="${INTERIM_SUPPORT/22.10 /}" INTERIM_SUPPORT="${INTERIM_SUPPORT/22.10 /}"
echo ${LTS_SUPPORT} \ if [ "${OS}" == "ubuntu-unity" ]; then
${INTERIM_SUPPORT} \ echo ${INTERIM_SUPPORT} \
jammy-daily \ daily-live \
daily-live \ daily-canary \
daily-canary \ ;
eol-4.10 \
eol-5.04 \ else
eol-5.10 \ echo ${LTS_SUPPORT} \
eol-6.06.0 eol-6.06.1 eol-6.06.2 \ ${INTERIM_SUPPORT} \
eol-6.10 \ jammy-daily \
eol-7.04 \ daily-live \
eol-7.10 \ daily-canary \
eol-8.04.0 eol-8.04.1 eol-8.04.2 eol-8.04.3 eol-8.04.4 \ eol-4.10 \
eol-8.10 \ eol-5.04 \
eol-9.04 \ eol-5.10 \
eol-9.10 \ eol-6.06.0 eol-6.06.1 eol-6.06.2 \
eol-10.04.0 eol-10.04.1 eol-10.04.2 eol-10.04.3 eol-10.04.4 \ eol-6.10 \
eol-10.10 \ eol-7.04 \
eol-11.04 \ eol-7.10 \
eol-11.10 \ eol-8.04.0 eol-8.04.1 eol-8.04.2 eol-8.04.3 eol-8.04.4 \
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-8.10 \
eol-12.10 \ eol-9.04 \
eol-13.04 \ eol-9.10 \
eol-13.10 \ eol-10.04.0 eol-10.04.1 eol-10.04.2 eol-10.04.3 eol-10.04.4 \
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-10.10 \
eol-14.10 \ eol-11.04 \
eol-15.04 \ eol-11.10 \
eol-15.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-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-12.10 \
eol-16.10 \ eol-13.04 \
eol-17.04 \ eol-13.10 \
eol-17.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-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-14.10 \
eol-18.10 \ eol-15.04 \
eol-19.04 \ eol-15.10 \
eol-19.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-20.04 eol-20.04.0 eol-20.04.1 eol-20.04.2 \ eol-16.10 \
eol-20.10 \ eol-17.04 \
eol-21.04 \ eol-17.10 \
eol-21.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() { function releases_void() {

Loading…
Cancel
Save