debian/loolwsd.postinst.in | 2 ++ loolwsd.spec.in | 1 + 2 files changed, 3 insertions(+)
New commits: commit 92adde204370cc3e55b953eb6dc2c007f3714d21 Author: Andras Timar <andras.ti...@collabora.com> Date: Tue Apr 4 12:12:22 2017 +0200 Run fc-cache after installation in order to improve startup time of LOKit Change-Id: Ide3ceb5b5dccfce6ea9e155b5dbf2e49bf24fe88 (cherry picked from commit 94a810daa0377ac76a50a992edcb44dd1be1956a) diff --git a/debian/loolwsd.postinst.in b/debian/loolwsd.postinst.in index fe7eb49a..75ffb82e 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" ;; diff --git a/loolwsd.spec.in b/loolwsd.spec.in index 5b6d89de..c60dc179 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits