[libreoffice] 01/01: heck for /usr/bin/loolwsd-systemplate-setup before running it
Rene Engelhard
rene at moszumanska.debian.org
Fri Nov 24 22:20:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
rene pushed a commit to branch debian-experimental-5.4
in repository libreoffice.
commit f776a60f2dfa0fe4ceadad3025da6c9eb2a93e9e
Author: Rene Engelhard <rene at rene-engelhard.de>
Date: Fri Nov 24 23:20:28 2017 +0100
heck for /usr/bin/loolwsd-systemplate-setup before running it
---
libreoffice-common.postinst.in | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/libreoffice-common.postinst.in b/libreoffice-common.postinst.in
index 93c3ed3..5d205f0 100644
--- a/libreoffice-common.postinst.in
+++ b/libreoffice-common.postinst.in
@@ -12,7 +12,13 @@ if [ "$1" = "triggered" ]; then
make_lo_sync_extensions
;;
"/@OODIR@")
- if [ -d /var/lib/lool/systemplate ]; then
+ # check also whether /usr/bin/loolwsd-systemplate-setup
+ # is +x do to not fail when it's gone but
+ # /var/lib/lool/systemplate is still there (loolwsd
+ # removed
+ # but not purged)
+ if [ -x /usr/bin/loolwsd-systemplate-setup -a \
+ -d /var/lib/lool/systemplate ]; then
update_lool_systemplate
fi
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git
More information about the Pkg-openoffice-commits
mailing list