mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-23 00:00:50 +02:00
Filter ubuntu flavour LTS availability
This commit is contained in:
parent
9725cb186f
commit
a6073dfd5b
17
quickget
17
quickget
|
@ -442,10 +442,19 @@ function releases_tails() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function releases_ubuntu() {
|
function releases_ubuntu() {
|
||||||
echo 14.04 \
|
local LTS_SUPPORT="14.04 16.04 18.04 20.04"
|
||||||
16.04 \
|
case "${OS}" in
|
||||||
18.04 \
|
kubuntu|lubuntu|ubuntukylin|\
|
||||||
20.04 \
|
ubuntu-mate|ubuntustudio|xubuntu)
|
||||||
|
## after 14.04
|
||||||
|
LTS_SUPPORT="${LTS_SUPPORT/14.04 /}"
|
||||||
|
;;
|
||||||
|
ubuntu-budgie)
|
||||||
|
#after 16.04
|
||||||
|
LTS_SUPPORT="${LTS_SUPPORT/14.04 16.04 /}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
echo ${LTS_SUPPORT} \
|
||||||
21.10 \
|
21.10 \
|
||||||
daily-live \
|
daily-live \
|
||||||
daily-canary \
|
daily-canary \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user