6 # If there is a global system configuration file, suck it in.
8 if [ -r /etc/defaults/periodic.conf ]
10 . /etc/defaults/periodic.conf
14 case "$weekly_catman_enable" in
16 if [ ! -d /usr/share/man/cat1 ]
18 echo '$weekly_catman_enable is set but /usr/share/man/cat1' \
23 echo "Reformatting manual pages:"
25 MANPATH=`/usr/bin/manpath -q`
28 if [ -z "${MANPATH}" ]
30 echo "manpath failed to find any manpath directories"
33 man_locales=`/usr/bin/manpath -qL`
36 # Preformat original, non-localized manpages
37 echo /usr/libexec/catman.local -r "$MANPATH" |
40 # Preformat localized manpages.
41 if [ -n "$man_locales" ]
45 echo /usr/libexec/catman.local -Lr \
46 "$MANPATH" | LC_ALL=$i su -fm man || rc=3