system/mdocml: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LEVAI Daniel 2014-09-06 18:54:16 +07:00 committed by Willy Sudiarto Raharjo
parent fc1812c628
commit 2e5a4874b8
1 changed files with 3 additions and 2 deletions

View File

@ -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