refactor: update handle_missing() for fedora 40
This commit is contained in:
parent
0f3196ad45
commit
a09be6a976
12
quickget
12
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
|
||||
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
|
||||
fi
|
||||
# Handle missing Manjaro Sway minimal
|
||||
exit 1
|
||||
fi;;
|
||||
esac
|
||||
}
|
||||
|
||||
function validate_release() {
|
||||
|
|
Loading…
Reference in New Issue