Easy start script: add did_user_forbid_replacing_xstartup()

This commit is contained in:
Dmitry Maksyoma 2021-07-18 23:04:36 +12:00
parent 22654f7ab6
commit f8bcfcc493

View File

@ -71,6 +71,10 @@ detect_desktop_environment() {
return 1
}
did_user_forbid_replacing_xstartup() {
grep -q -v KasmVNC-safe-to-replace-this-file "$xstartup_script"
}
de_cmd_from_name() {
de_cmd=${all_desktop_environments[$de_name]}
}