NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rebuilding whatis database - weekly output for Sat Mar 23 04:30:00 CET 2013]

I have this in my weekly.conf (NetBSD 6.0):

    #   $NetBSD: weekly.conf,v 1.3 2000/10/01 05:53:03 lukem Exp $
    # Add local overrides below

because rebuild_whatisdb=NO could be found in /etc/defaults/weekly.
And I get this in my weekly mail:

    Date: Sat, 23 Mar 2013 04:30:00 +0100 (CET)
    From: Charlie Root <>
    Subject: weekly output for Sat Mar 23 04:30:00 CET 2013

    Rebuilding locate database:

    [: closing paren expected
    Not rebuilding whatis databases

    Rebuilding man page index:

It looks like that is because of these lines in /etc/weekly:

    #   $NetBSD: weekly,v 2012/08/08 14:36:55 martin Exp $
    if checkyesno rebuild_whatisdb; then
            echo ""
            if [ -x /usr/libexec/makewhatis -a \( -f /etc/man.conf -o \
                 -o -d /usr/share/man \) ]; then
                    echo "Rebuilding whatis databases:"
                    nice -n 5 /usr/libexec/makewhatis -f
                    echo "Not rebuilding whatis databases"

Do other people see that too? I'd think that the backslash would
properly continue the line of the "[" command.

Looking at it a bit more, there isn't even a /usr/libexec/makewhatis
command. That makes the existence of this bit of script even more

___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/    -- 'this bath is too hot.'

Home | Main Index | Thread Index | Old Index