mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
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:
parent
116923d7a8
commit
41b1e11cfe
2 changed files with 55 additions and 42 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
14
quickget
14
quickget
|
@ -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,10 +494,20 @@ 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 /}"
|
||||||
|
|
||||||
|
if [ "${OS}" == "ubuntu-unity" ]; then
|
||||||
|
echo ${INTERIM_SUPPORT} \
|
||||||
|
daily-live \
|
||||||
|
daily-canary \
|
||||||
|
;
|
||||||
|
|
||||||
|
else
|
||||||
echo ${LTS_SUPPORT} \
|
echo ${LTS_SUPPORT} \
|
||||||
${INTERIM_SUPPORT} \
|
${INTERIM_SUPPORT} \
|
||||||
jammy-daily \
|
jammy-daily \
|
||||||
|
@ -537,7 +549,7 @@ function releases_ubuntu() {
|
||||||
eol-21.04 \
|
eol-21.04 \
|
||||||
eol-21.10 \
|
eol-21.10 \
|
||||||
;
|
;
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function releases_void() {
|
function releases_void() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue