From 5d64b8d2fac690a33b52cfcc7f2201feb9359f18 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 6 Jan 2018 05:56:12 +0700 Subject: [PATCH] office/libreoffice: Add loxxx symlinks. Signed-off-by: Willy Sudiarto Raharjo --- office/libreoffice/libreoffice.SlackBuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild index 6eaf2b7b2f..e87b6120bf 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