aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-07-29 14:32:37 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:24:45 -0300
commit6c8f0aa032de25dddd68e74804f01022a433f544 (patch)
treece3871b5c7a36f808b1ad02b9f9aaab3ae54c2b4
parent5ae66481c566416c64d6ffb564b3039fa73bc99e (diff)
office/mupdf: Fix man pages location.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-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 d56c9fa97e2c..2e372e2de538 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 {} \;