add warning for unsupported fedora spins (#461)
This commit is contained in:
parent
35b90f77e0
commit
dea192b785
8
quickget
8
quickget
@ -1818,6 +1818,14 @@ if [ -n "${2}" ]; then
|
||||
echo " - Setting edition to: ${EDITION}"
|
||||
fi
|
||||
fi
|
||||
# Handle odd missing fedora cominations
|
||||
if [[ $OS == fedora ]] ; then
|
||||
if [[ ${RELEASE} = "33" && ${EDITION} = "i3" ]] || [[ ${RELEASE} = "34" && ${EDITION} = "Cinnamon" ]] ; then
|
||||
echo "ERROR! Unsupported combination"
|
||||
echo " Fedora 33 i3 and Fedora 34 Cinnamon are not available, please choose another Release or Edition"
|
||||
exit 1;
|
||||
fi
|
||||
fi
|
||||
|
||||
VM_PATH="${OS}-${RELEASE}-${EDITION}"
|
||||
validate_release "releases_${OS}"
|
||||
|
Loading…
Reference in New Issue
Block a user