loolwsd/debian/loolwsd.postinst | 1 + loolwsd/loolwsd.spec.in | 1 + 2 files changed, 2 insertions(+)
New commits: commit 26b285356315996c362f025a8e42172bbfd3f24a Author: Jan Holesovsky <[email protected]> Date: Fri Jan 8 09:11:58 2016 +0100 loolwsd: Remove the cache content after installation. The new versions may change the behaviour substantially, let's be on the safe side. diff --git a/loolwsd/debian/loolwsd.postinst b/loolwsd/debian/loolwsd.postinst index c00c723..b929aa7 100755 --- a/loolwsd/debian/loolwsd.postinst +++ b/loolwsd/debian/loolwsd.postinst @@ -8,6 +8,7 @@ case "$1" in adduser --quiet --system --group --home /opt/lool lool mkdir -p /var/cache/loolwsd && chmod og+w /var/cache/loolwsd + rm -rf /var/cache/loolwsd/* # We assume that the LibreOffice to be used is built TDF-style # and installs in /opt/collaboraoffice5.0, and that /opt/lool is diff --git a/loolwsd/loolwsd.spec.in b/loolwsd/loolwsd.spec.in index 6bb3090..3ff73b6 100644 --- a/loolwsd/loolwsd.spec.in +++ b/loolwsd/loolwsd.spec.in @@ -72,6 +72,7 @@ getent group %{group} >/dev/null || groupadd -r %{group} getent passwd %{owner} >/dev/null || useradd -g %{group} -r %{owner} mkdir -p /var/cache/loolwsd && chmod og+w /var/cache/loolwsd +rm -rf /var/cache/loolwsd/* # Figure out where LO is installed, let's hope it is not a mount point # Create a directory for loolwsd on the same file system _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
