summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/fix-libreoffice4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/fix-libreoffice b/config/chroot_local-hooks/fix-libreoffice
new file mode 100755
index 0000000..3897199
--- /dev/null
+++ b/config/chroot_local-hooks/fix-libreoffice
@@ -0,0 +1,4 @@
+#!/bin/bash
+# fix permissions of libreoffice because of packaging error
+[ -d /opt/libreoffice4.1 ] || exit 0
+chown 0:0 -R /opt/libreoffice4.1/