mirror of
git://slackware.nl/current.git
synced 2024-12-29 10:25:00 +01:00
15 lines
431 B
Text
15 lines
431 B
Text
|
#!/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 --no-purge --quiet
|
||
|
|