[Slackbuilds-users] RFC: Proposed mandb additions to doinst/douninst template

K. Eugene Carlson kvngncrlsn at gmail.com
Wed Sep 11 05:52:17 UTC 2024


>   find usr/man -type f -a -name '*.gz' | \
>     sed -e 's,^,chroot . /usr/bin/mandb -f "/,' \
>         -e 's,$," \&>/dev/null,' \
>     >> install/doinst.sh

My only suggestion would be to use "-type f,l". Almost 20% of all man pages
are symlinks on a clean Slackware installation.

Anyway, I've started trying this out on my own builds (albeit with awk
instead of sed; just personal preference), and it appears to work.

Best regards,

Gene Carlson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240911/75f463af/attachment.htm>


More information about the SlackBuilds-users mailing list