summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-09-06 18:54:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-06 18:54:25 +0700
commit2e5a4874b8eb4e846be24727f1e2157eb4ddaf86 (patch)
tree47f701a3db4b20d83a9c0c62353555d1704cfe73
parentfc1812c628bd76bc41f6fdf7d7c624673d1264d3 (diff)
downloadslackbuilds-2e5a4874b8eb4e846be24727f1e2157eb4ddaf86.tar.gz
system/mdocml: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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