From a6073dfd5ba9a0f98b7d51303a5695b70af34f28 Mon Sep 17 00:00:00 2001 From: Phil Clifford Date: Tue, 1 Mar 2022 11:10:53 +0000 Subject: [PATCH] Tidy flavour lts (#401)/ Closes #402 Filter ubuntu flavour LTS availability --- quickget | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/quickget b/quickget index a2400d6..e82ab34 100755 --- a/quickget +++ b/quickget @@ -442,10 +442,19 @@ function releases_tails() { } function releases_ubuntu() { - echo 14.04 \ - 16.04 \ - 18.04 \ - 20.04 \ + local LTS_SUPPORT="14.04 16.04 18.04 20.04" + case "${OS}" in + kubuntu|lubuntu|ubuntukylin|\ + 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 \ daily-live \ daily-canary \