diff --git a/srcpkgs/mdocml/files/makewhatis.cron.daily b/srcpkgs/mdocml/files/makewhatis.cron.daily index babbabe019..ee334fa94f 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 5f6fc87f85..ec719bdca3 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