summaryrefslogtreecommitdiff
path: root/debian/loolwsd.postinst.in
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-04-04 12:12:22 +0200
committerAndras Timar <andras.timar@collabora.com>2017-04-04 12:12:22 +0200
commit94a810daa0377ac76a50a992edcb44dd1be1956a (patch)
tree8f0a0b2e9e6e238be70a4105b350b5022049fa8c /debian/loolwsd.postinst.in
parentd11b3a76d9284c23b0262abd2c48a2dc89bed571 (diff)
Run fc-cache after installation in order to improve startup time of LOKit
Change-Id: Ide3ceb5b5dccfce6ea9e155b5dbf2e49bf24fe88
Diffstat (limited to 'debian/loolwsd.postinst.in')
-rwxr-xr-xdebian/loolwsd.postinst.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/loolwsd.postinst.in b/debian/loolwsd.postinst.in
index fe7eb49ac..75ffb82e9 100755
--- a/debian/loolwsd.postinst.in
+++ b/debian/loolwsd.postinst.in
@@ -20,6 +20,8 @@ case "$1" in
chown lool: /opt/lool
chown lool: /opt/lool/child-roots
+ fc-cache @LO_PATH@/share/fonts/truetype
+
su lool --shell=/bin/sh -c "loolwsd-systemplate-setup /opt/lool/systemplate @LO_PATH@ >/dev/null 2>&1"
;;