mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-16 03:41:26 +00:00
Show prompt for BUILD_DESKTOP if RELEASE is set
This commit is contained in:
parent
8c76c504a4
commit
9fbbb44487
1 changed files with 2 additions and 0 deletions
2
main.sh
2
main.sh
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue