void-packages/srcpkgs/man-db/files/man-db.cron-daily

17 lines
232 B
Bash

#!/bin/sh
# taken from Debian
# man-db cron daily
set -e
# Recover from deletion, per FHS.
mkdir -p /var/cache/man
chown _man:_man /var/cache/man
chmod 755 /var/cache/man
# regenerate man database
/usr/bin/mandb --quiet
exit 0