a671e01be7
Please note: I'm not activating this until I successfully get the changes back into my local CVS repository to do one final check. Early adopters are welcome to send comments.
19 lines
365 B
Bash
Executable File
19 lines
365 B
Bash
Executable File
#!/bin/sh -
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
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
|