freebsd-dev/etc/periodic/weekly/320.whatis
Paul Traina 12c88fdf8b Copy /etc/cron.d to /etc/periodic per-request of many.
This wasn't done with a repository copy because there was no
history of any consequence.  Flames to me.
1997-08-16 17:04:02 +00:00

19 lines
416 B
Bash
Executable File

#!/bin/sh -
#
# $Id: 320.whatis,v 1.1.1.1 1997/08/12 17:51:16 pst Exp $
#
if [ -x /usr/libexec/makewhatis.local -a -d /usr/share/man ] ; then
echo ""
echo "Rebuilding whatis database:"
if [ -d /usr/X11R6/man ] ; then
MANPATH=${MANPATH:-/usr/share/man:/usr/X11R6/man:/usr/local/man}
else
MANPATH=${MANPATH:-/usr/share/man:/usr/local/man}
fi
/usr/libexec/makewhatis.local "${MANPATH}"
fi