Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Apr 4, 2024
1 parent 3493345 commit e7b90d0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -818,18 +818,18 @@ function releases_ubuntu() {

case "${OS}" in
edubuntu|ubuntu-unity|ubuntucinnamon)
echo ${INTERIM_SUPPORT[@]} daily-live
echo "${INTERIM_SUPPORT[@]}" daily-live
;;
kubuntu|lubuntu|ubuntukylin|ubuntu-mate|ubuntustudio|xubuntu)
## after 14.04
echo ${LTS_SUPPORT[@]:1} ${INTERIM_SUPPORT[@]} daily-live jammy-daily ${EOL_VERSIONS[@]/#/eol-}
echo "${LTS_SUPPORT[@]:1}" "${INTERIM_SUPPORT[@]}" daily-live jammy-daily "${EOL_VERSIONS[@]/#/eol-}"
;;
ubuntu-budgie)
#after 16.04
echo ${LTS_SUPPORT[@]:2} ${INTERIM_SUPPORT[@]} daily-live jammy-daily ${EOL_VERSIONS[@]/#/eol-}
echo "${LTS_SUPPORT[@]:2}" "${INTERIM_SUPPORT[@]}" daily-live jammy-daily "${EOL_VERSIONS[@]/#/eol-}"
;;
ubuntu)
echo ${LTS_SUPPORT[@]} ${INTERIM_SUPPORT[@]} daily-live ${EOL_VERSIONS[@]/#/eol-}
echo "${LTS_SUPPORT[@]}" "${INTERIM_SUPPORT[@]}" daily-live "${EOL_VERSIONS[@]/#/eol-}"
;;
esac
}
Expand All @@ -852,7 +852,7 @@ function releases_ubuntu-server() {
fi
done

echo ${LTS_SUPPORT[@]} ${INTERIM_SUPPORT[@]} daily-live
echo "${LTS_SUPPORT[@]}" "${INTERIM_SUPPORT[@]}" daily-live
}

function releases_vanillaos() {
Expand Down Expand Up @@ -2785,6 +2785,7 @@ if [ -n "${2}" ]; then

# Handle odd missing fedora cominations
if [[ $OS == fedora ]] ; then
#shellcheck disable=SC2071
if [[ ${RELEASE} = "33" && ${EDITION} = "i3" ]] || [[ ${RELEASE} = "34" && ${EDITION} = "Cinnamon" ]] || [[ "${RELEASE}" < "39" && ${EDITION} = "Onyx" ]]; then
echo "ERROR! Unsupported combination"
echo " Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition"
Expand Down

0 comments on commit e7b90d0

Please sign in to comment.