mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 02:53:41 +01:00
Early start script: add -select-de support
This commit is contained in:
parent
8a11d171d5
commit
24336b236a
@ -157,6 +157,9 @@ process_cli_options() {
|
||||
done
|
||||
}
|
||||
|
||||
user_asked_to_select_de() {
|
||||
[[ "$action" = "select-de-and-start" ]]
|
||||
}
|
||||
show_help() {
|
||||
cat >&2 <<-USAGE
|
||||
Usage: `basename $0` [options]
|
||||
@ -177,7 +180,7 @@ EOF
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! de_was_selected; then
|
||||
if user_asked_to_select_de || ! de_was_selected; then
|
||||
detect_desktop_environments
|
||||
ask_user_to_choose_de
|
||||
debug "You selected $de_name desktop environment"
|
||||
|
Loading…
Reference in New Issue
Block a user