summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author Erik Hanson2011-07-29 21:32:37 +0200
committer Niels Horn2011-08-12 01:24:45 +0200
commit6c8f0aa032de25dddd68e74804f01022a433f544 (patch)
treece3871b5c7a36f808b1ad02b9f9aaab3ae54c2b4 /office
parent5ae66481c566416c64d6ffb564b3039fa73bc99e (diff)
downloadslackbuilds-6c8f0aa032de25dddd68e74804f01022a433f544.tar.gz
office/mupdf: Fix man pages location.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/mupdf/mupdf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild
index d56c9fa97e..2e372e2de5 100644
--- a/office/mupdf/mupdf.SlackBuild
+++ b/office/mupdf/mupdf.SlackBuild
@@ -61,7 +61,8 @@ mv $PKG/usr/bin/pdfinfo $PKG/usr/bin/pdfinfo-mupdf
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man/man1 $PKG/usr/man
+mkdir -p $PKG/usr/man
+mv $PKG/usr/share/man/man1 $PKG/usr/man/man1
rm $PKG/usr/share/man -r
find $PKG/usr/man -type f -exec gzip -9 {} \;