summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-04-23 15:55:32 +0200
committerAndras Timar <andras.timar@collabora.com>2020-04-23 19:36:06 +0200
commit25bc0a1088d308f30f1705df96b13d650114a357 (patch)
treea672ef444044b7b1d57b690fbea2fba17a2bdd3e /debian
parentc98d2d2b3dc522820672e2f71a0a72ce7c40e8ee (diff)
Proof: add loolwsd-generate-proof-key helper script
Change-Id: Ibbd99b6431b1a2992c520d3fad5f52d0770905f6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92788 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/loolwsd.postinst.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/loolwsd.postinst.in b/debian/loolwsd.postinst.in
index afd2cde2a..41198e75a 100644
--- a/debian/loolwsd.postinst.in
+++ b/debian/loolwsd.postinst.in
@@ -24,6 +24,7 @@ case "$1" in
fc-cache @LO_PATH@/share/fonts/truetype
loolwsd-systemplate-setup /opt/lool/systemplate @LO_PATH@ >/dev/null 2>&1
+ loolwsd-generate-proof-key >/dev/null 2>&1
cat << EOF > /etc/apt/apt.conf.d/25loolwsd
// Rebuild systemplate of @APP_NAME@
DPkg::Post-Invoke { "echo Updating loolwsd systemplate;su lool --shell=/bin/sh -c 'loolwsd-systemplate-setup /opt/lool/systemplate @LO_PATH@ >/dev/null 2>&1'"; };