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

New commits:
commit 6253930b8216bbacb66a951eb02a8d1b62a06379
Author: Jan Holesovsky <[email protected]>
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"
        ;;
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to