[Slackbuilds-users] Follow-up of https://app.matera.eu/messages?topic_id=396674
Didier Spaier
didier at slint.fr
Wed Sep 18 17:21:44 UTC 2024
Hi,
B. Watson wrote:
> So maybe we should be trying to talk PV into changing
> /etc/cron.daily/man-db, add a "-c" to the mandb command it
> runs. That'd make mandb rebuild the whole cache from scratch, and we
> wouldn't have to worry about doinst.sh at all.
> Pat doesn't seem to answer emails any more (or anyway, not the last
> few I sent him), maybe someone who uses LQ could try to contact him
> there? (I don't use it, not a big fan of web forums)
I could be this someone, however I do not see a mandb command in
/etc/cron.daily/man-db and am not acquainted with man-db
What changes should I request in this file (attached)?
Cheers,
Didier
-------------- next part --------------
#!/bin/sh
# man-db daily cronjob, part of the man-db package.
# Unset $MANPATH so that mandb will get it from man_db.conf rather than
# the environment:
unset MANPATH
# Make sure the man-db cache directory exists:
mkdir -p /var/cache/man
# Regenerate the index databases caches used by man-db.
# These increase perfomance and provide features such as whatis and apropos.
ionice -c3 nice -n 19 /usr/bin/mandb --quiet
More information about the SlackBuilds-users
mailing list