#!/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

