[Libreoffice-commits] online.git: 2 commits - debian/loolwsd.postinst.in debian/loolwsd.postrm debian/loolwsd.preinst debian/rules Makefile.am
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 26 22:01:44 UTC 2019
Makefile.am | 1 +
debian/loolwsd.postinst.in | 4 ++++
debian/loolwsd.postrm | 5 +++++
3 files changed, 10 insertions(+)
New commits:
commit 99ed303e2fd884e77f50a433c5fd46f997007c65
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Tue Nov 26 22:58:35 2019 +0100
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Nov 26 22:58:35 2019 +0100
chmod -x
Change-Id: Iaacb3f7abbbb5c76cbd693b8b9918137de086c3d
diff --git a/debian/loolwsd.postinst.in b/debian/loolwsd.postinst.in
old mode 100755
new mode 100644
diff --git a/debian/loolwsd.postrm b/debian/loolwsd.postrm
old mode 100755
new mode 100644
diff --git a/debian/loolwsd.preinst b/debian/loolwsd.preinst
old mode 100755
new mode 100644
diff --git a/debian/rules b/debian/rules
old mode 100755
new mode 100644
commit da56f1fc73ffdd17e44347d38ee4a844fa72a147
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Tue Nov 26 22:56:58 2019 +0100
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Nov 26 22:56:58 2019 +0100
deb: trigger systemplate update after apt operations (e.g. installation of a new font, etc.)
Change-Id: Ia356249598d2f451d135985511b0fce71335a28d
diff --git a/Makefile.am b/Makefile.am
index ac6a45307..086ba7613 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -261,6 +261,7 @@ EXTRA_DIST = discovery.xml \
debian/changelog \
debian/control \
debian/loolwsd.postinst \
+ debian/loolwsd.postrm \
etc/key.pem \
etc/cert.pem \
etc/ca-chain.cert.pem \
diff --git a/debian/loolwsd.postinst.in b/debian/loolwsd.postinst.in
index 942cbc695..bbbfcfeda 100755
--- a/debian/loolwsd.postinst.in
+++ b/debian/loolwsd.postinst.in
@@ -24,6 +24,10 @@ case "$1" in
fc-cache @LO_PATH@/share/fonts/truetype
loolwsd-systemplate-setup /opt/lool/systemplate @LO_PATH@ >/dev/null 2>&1
+ cat << EOF > /etc/apt/apt.conf.d/25loolwsd
+// Rebuild systemplate of LibreOffice Online
+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'"; };
+EOF
;;
esac
diff --git a/debian/loolwsd.postrm b/debian/loolwsd.postrm
new file mode 100755
index 000000000..784ad65ba
--- /dev/null
+++ b/debian/loolwsd.postrm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+rm -f /etc/apt/apt.conf.d/25loolwsd
More information about the Libreoffice-commits
mailing list