[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loolwsd/debian

Jan Holesovsky kendy at collabora.com
Fri Jan 8 00:23:31 PST 2016


 loolwsd/debian/loolwsd.postinst |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6253930b8216bbacb66a951eb02a8d1b62a06379
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Jan 8 09:22:28 2016 +0100

    loolwsd: Cleanup child-roots in postinst (as we do in .rpm's too).

diff --git a/loolwsd/debian/loolwsd.postinst b/loolwsd/debian/loolwsd.postinst
index b929aa7..fd02df5 100755
--- a/loolwsd/debian/loolwsd.postinst
+++ b/loolwsd/debian/loolwsd.postinst
@@ -14,10 +14,11 @@ case "$1" in
 	# and installs in /opt/collaboraoffice5.0, and that /opt/lool is
 	# on the same file system
 
+	rm -rf /opt/lool
 	mkdir -p /opt/lool/child-roots
+	chown lool /opt/lool
 	chown lool /opt/lool/child-roots
 
-	rm -rf /opt/lool/systemplate
 	su lool --shell=/bin/sh -c "loolwsd-systemplate-setup /opt/lool/systemplate /opt/collaboraoffice5.0 >/dev/null"
 	;;
 


More information about the Libreoffice-commits mailing list