summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/mdocml/mdocml.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/mdocml/mdocml.SlackBuild b/system/mdocml/mdocml.SlackBuild
index 329b4071eb..be2904fee5 100644
--- a/system/mdocml/mdocml.SlackBuild
+++ b/system/mdocml/mdocml.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=mdocml
VERSION=${VERSION:-1.13.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -84,7 +84,8 @@ mv $PKG/usr/man/man8/makewhatis.8 $PKG/usr/man/man8/makewhatis-mdocml.8
mv $PKG/usr/bin/whatis $PKG/usr/bin/whatis-mdocml
mv $PKG/usr/man/man1/whatis.1 $PKG/usr/man/man1/whatis-mdocml.1
mv $PKG/usr/bin/apropos $PKG/usr/bin/apropos-mdocml
-mv $PKG/usr/man/man1/apropos.1 $PKG/usr/man/man1/apropos-mdocml.1
+rm -f $PKG/usr/man/man1/apropos.1
+ln -s whatis-mdocml.1 $PKG/usr/man/man1/apropos-mdocml.1
# don't conflict with stock groff
mv $PKG/usr/bin/preconv $PKG/usr/bin/preconv-mdocml