summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 23:20:53 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-10 23:55:47 +0700
commitcc94300a68fa0c39332f9768d5862d5a90fb1d7c (patch)
tree78dd951b505033a2619ad318d3f0f7eaa801726a
parent0dff6ad77dd48affa8b51c1a087a5b4959baac0e (diff)
downloadslackbuilds-cc94300a68fa0c39332f9768d5862d5a90fb1d7c.tar.gz
slackbuilds-cc94300a68fa0c39332f9768d5862d5a90fb1d7c.tar.xz
office/libreoffice: Fix symlink creation.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/libreoffice/libreoffice.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index e87b6120bf..ad68b475c3 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -119,7 +119,6 @@ cd $PKG/usr/bin
rm -f $FILE
ln -sf ../../opt/libreoffice$SRCSHORT/program/$FILE $FILE ;
done
-cd -
# The symlinks below are required to (directly) open documents
# supported by libreoffice with Xfe file manager.
@@ -130,6 +129,7 @@ ln -sf ../../opt/libreoffice$SRCSHORT/program/simpress loimpress
ln -sf ../../opt/libreoffice$SRCSHORT/program/smath lomath
ln -sf ../../opt/libreoffice$SRCSHORT/program/swriter lowriter
+cd -
# Remove DejaVu and Liberation fonts - these are included in other packages
rm -f opt/libreoffice$SRCSHORT/share/fonts/truetype/{DejaVu,Liberation}*.ttf