aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/libreoffice/libreoffice.SlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index 6eaf2b7b2fe2e..e87b6120bf02c 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -121,6 +121,15 @@ cd $PKG/usr/bin
done
cd -
+# The symlinks below are required to (directly) open documents
+# supported by libreoffice with Xfe file manager.
+ln -sf ../../opt/libreoffice$SRCSHORT/program/sbase lobase
+ln -sf ../../opt/libreoffice$SRCSHORT/program/scalc localc
+ln -sf ../../opt/libreoffice$SRCSHORT/program/sdraw lodraw
+ln -sf ../../opt/libreoffice$SRCSHORT/program/simpress loimpress
+ln -sf ../../opt/libreoffice$SRCSHORT/program/smath lomath
+ln -sf ../../opt/libreoffice$SRCSHORT/program/swriter lowriter
+
# Remove DejaVu and Liberation fonts - these are included in other packages
rm -f opt/libreoffice$SRCSHORT/share/fonts/truetype/{DejaVu,Liberation}*.ttf