From f555b2a3d97f08bb14448a198e940b698ca3e5bd Mon Sep 17 00:00:00 2001 From: zen0bit Date: Sun, 21 Apr 2024 10:52:00 +0200 Subject: [PATCH] fix: Remove second handle_missing function --- quickget | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/quickget b/quickget index 29b3c3b..f635e56 100755 --- a/quickget +++ b/quickget @@ -3487,25 +3487,6 @@ fi LANGS=() -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 - if [[ $OS == manjaro ]] ; then - if [[ ${RELEASE} == "sway" && ${EDITION} == "minimal" ]] ; then - echo "ERROR! Unsupported combination" - echo " Manjaro Sway does not have a minimal edition" - exit 1; - fi - fi -} - CURL=$(command -v curl) if [ ! -e "${CURL}" ]; then echo "ERROR! curl not found. Please make install curl"