aboutsummaryrefslogtreecommitdiff
path: root/office/libreoffice
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 05:56:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:41:49 +0700
commit5d64b8d2fac690a33b52cfcc7f2201feb9359f18 (patch)
treeabf27c224db6de3799a82b0f08b6776b4505e963 /office/libreoffice
parent249199bac20a5c82450dec8c799d78196845b470 (diff)
office/libreoffice: Add loxxx symlinks.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/libreoffice')
-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