#!/bin/sh
#
# Last modification: Wed, 21 May 1997 12:27:01 +0300
# man-db cron weekly

# build catdirs for new mandirs
if test -x /usr/sbin/mkcatdirs 
then	/usr/bin/nice /usr/sbin/mkcatdirs man root 0755 > /dev/null
fi

# generate man database
if test -x /usr/bin/mandb 
then	/usr/bin/nice /usr/bin/mandb --create 2>/dev/null > /dev/null
fi
