From c5d04a6494a950b9585396a75174f35e3e783974 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 08:13:14 +0200 Subject: [PATCH] mdocml: move to usr/bin. --- srcpkgs/mdocml/files/makewhatis.cron.daily | 4 ++-- srcpkgs/mdocml/template | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/mdocml/files/makewhatis.cron.daily b/srcpkgs/mdocml/files/makewhatis.cron.daily index babbabe0195..ee334fa94f4 100755 --- a/srcpkgs/mdocml/files/makewhatis.cron.daily +++ b/srcpkgs/mdocml/files/makewhatis.cron.daily @@ -1,3 +1,3 @@ #!/bin/sh -/sbin/makewhatis -a -Tutf8 -exit 0 +makewhatis -a -Tutf8 +exit $? diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template index 5f6fc87f85b..ec719bdca31 100644 --- a/srcpkgs/mdocml/template +++ b/srcpkgs/mdocml/template @@ -1,7 +1,7 @@ # Template file for 'mdocml' pkgname=mdocml version=1.13.3 -revision=2 +revision=3 build_pie=yes build_style=configure makedepends="sqlite-devel" @@ -29,7 +29,7 @@ post_install() { # Use symlinks. rm -f ${DESTDIR}/usr/bin/{apropos,man,whatis} rm -f ${DESTDIR}/usr/sbin/makewhatis - ln -sfr ${DESTDIR}/usr/bin/mandoc ${DESTDIR}/usr/sbin/makewhatis + ln -sfr ${DESTDIR}/usr/bin/mandoc ${DESTDIR}/usr/bin/makewhatis for f in man apropos whatis; do ln -s mandoc ${DESTDIR}/usr/bin/$f done