diff --git a/quickget b/quickget index 1b1a93c..15181aa 100755 --- a/quickget +++ b/quickget @@ -259,14 +259,14 @@ function error_not_supported_lang() { function handle_missing() { # Handle odd missing Fedora combinations - if [[ $OS == fedora ]] ; then - 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" - exit 1; - fi - fi - # Handle missing Manjaro Sway minimal + case "${OS}" in + fedora) + if [[ "${RELEASE}" -lt 40 && "${EDITION}" == "Onyx" ]] || [[ "${RELEASE}" -lt 40 && "${EDITION}" == "Sericea" ]]; then + echo "ERROR! Unsupported combination" + echo " Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition" + exit 1 + fi;; + esac } function validate_release() {