Show prompt for BUILD_DESKTOP if RELEASE is set

This commit is contained in:
zador-blood-stained 2016-08-03 17:14:24 +03:00
parent 8c76c504a4
commit 9fbbb44487

View file

@ -139,7 +139,9 @@ if [[ $KERNEL_ONLY != yes && -z $RELEASE ]]; then
RELEASE=$(dialog --stdout --title "Choose a release" --backtitle "$backtitle" --menu "Select one of supported releases" $TTY_Y $TTY_X $(($TTY_Y - 8)) "${options[@]}")
unset options
[[ -z $RELEASE ]] && exit_with_error "No release selected"
fi
if [[ $KERNEL_ONLY != yes && -n $RELEASE ]]; then
options=()
options+=("no" "Image with console interface")
options+=("yes" "Image with desktop environment")