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

Arkadiusz Drabczyk arkadiusz at drabczyk.org
Sun Aug 25 13:18:35 UTC 2024


On Sat, Aug 24, 2024 at 02:32:57AM -0400, B. Watson wrote:
> 
> Thinking of adding this to the doinst template:
> 
> ### in doinst.sh:
> # DESCRIPTION: Updates the man database (for "man -k").
> # Use one "man -f" command for each man page in the package.
> if [ -x usr/bin/mandb ]; then
>   usr/bin/mandb -f usr/man/man1/program.1.gz
> fi

so there is no easier way than to run mandb for each manpage
separately? It'll be hard to maintain, especially in case of programs
that can add different manpages based on build options used.

-- 
Arkadiusz Drabczyk <arkadiusz at drabczyk.org>


More information about the SlackBuilds-users mailing list