mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-05 21:48:49 +01:00
Easy start script: refactor
This commit is contained in:
parent
24336b236a
commit
7c4896ac66
@ -79,7 +79,7 @@ remember_de_choice() {
|
||||
touch "$de_was_selected_file"
|
||||
}
|
||||
|
||||
de_was_selected() {
|
||||
de_was_selected_on_previous_run() {
|
||||
[[ -f "$de_was_selected_file" ]]
|
||||
}
|
||||
|
||||
@ -180,7 +180,7 @@ EOF
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if user_asked_to_select_de || ! de_was_selected; then
|
||||
if user_asked_to_select_de || ! de_was_selected_on_previous_run; then
|
||||
detect_desktop_environments
|
||||
ask_user_to_choose_de
|
||||
debug "You selected $de_name desktop environment"
|
||||
|
Loading…
Reference in New Issue
Block a user