docker: Make Notebookbar the default again
...and user interface mode parametrizable. Signed-off-by: Aron Budea <aron.budea@collabora.com> Change-Id: Id4538f27f5aef9190c546ec8dc1d505042837aeb
This commit is contained in:
parent
a00e80ed4c
commit
b92befff94
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ fi
|
||||||
if test -n "${dictionaries}"; then
|
if test -n "${dictionaries}"; then
|
||||||
perl -pi -e "s/<allowed_languages (.*)>.*<\/allowed_languages>/<allowed_languages \1>${dictionaries:-de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru}<\/allowed_languages>/" /etc/loolwsd/loolwsd.xml
|
perl -pi -e "s/<allowed_languages (.*)>.*<\/allowed_languages>/<allowed_languages \1>${dictionaries:-de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru}<\/allowed_languages>/" /etc/loolwsd/loolwsd.xml
|
||||||
fi
|
fi
|
||||||
|
if test -n "${user_interface_mode}"; then
|
||||||
|
extra_params="${extra_params} --o:user_interface.mode=${user_interface_mode}"
|
||||||
|
else
|
||||||
|
extra_params="${extra_params} --o:user_interface.mode=notebookbar"
|
||||||
|
fi
|
||||||
|
|
||||||
# Restart when /etc/loolwsd/loolwsd.xml changes
|
# Restart when /etc/loolwsd/loolwsd.xml changes
|
||||||
[ -x /usr/bin/inotifywait -a /usr/bin/killall ] && (
|
[ -x /usr/bin/inotifywait -a /usr/bin/killall ] && (
|
||||||
|
|
Loading…
Reference in a new issue