summaryrefslogtreecommitdiff
path: root/loolwsd.spec.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 /loolwsd.spec.in
parentd11b3a76d9284c23b0262abd2c48a2dc89bed571 (diff)
Run fc-cache after installation in order to improve startup time of LOKit
Change-Id: Ide3ceb5b5dccfce6ea9e155b5dbf2e49bf24fe88
Diffstat (limited to 'loolwsd.spec.in')
-rw-r--r--loolwsd.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/loolwsd.spec.in b/loolwsd.spec.in
index ebb934f57..5b1463e61 100644
--- a/loolwsd.spec.in
+++ b/loolwsd.spec.in
@@ -140,6 +140,7 @@ mkdir -p ${loolparent}/lool/child-roots
chown lool:lool ${loolparent}/lool
chown lool:lool ${loolparent}/lool/child-roots
+fc-cache ${loroot}/share/fonts/truetype
su lool -c "loolwsd-systemplate-setup ${loolparent}/lool/systemplate ${loroot} >/dev/null 2>&1"
%if 0%{?fedora} || 0%{?rhel} >= 7