fix: Remove second handle_missing function
This commit is contained in:
parent
218d8ca3fd
commit
f555b2a3d9
19
quickget
19
quickget
|
@ -3487,25 +3487,6 @@ fi
|
||||||
|
|
||||||
LANGS=()
|
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)
|
CURL=$(command -v curl)
|
||||||
if [ ! -e "${CURL}" ]; then
|
if [ ! -e "${CURL}" ]; then
|
||||||
echo "ERROR! curl not found. Please make install curl"
|
echo "ERROR! curl not found. Please make install curl"
|
||||||
|
|
Loading…
Reference in New Issue