select-de.sh: assume -y if -s <DE> was given

This commit is contained in:
Dmitry Maksyoma 2021-09-09 00:25:21 +12:00
parent 003958dd9f
commit 75b42e4f3f

View File

@ -35,6 +35,7 @@ process_cli_options() {
action=select-de action=select-de
if [[ -n "$1" && "${1:1}" != "-" ]]; then if [[ -n "$1" && "${1:1}" != "-" ]]; then
selected_de="$1" selected_de="$1"
assume_yes=1
if [ "$selected_de" = "manual" ]; then if [ "$selected_de" = "manual" ]; then
selected_de="$manual_xstartup_choice" selected_de="$manual_xstartup_choice"
fi fi