Hi Stefan, Stefan Sperling wrote on Thu, Apr 24, 2014 at 01:52:15PM +0200: > On Thu, Apr 24, 2014 at 01:44:33PM +0200, Ingo Schwarze wrote:
>> and /usr/local/jdk-1.7.0/man/mandoc.db. Now, as you just upgraded >> past the makewhatis(8)/apropos(1) switch, such databases do not yet >> exist. Consequently, makewhatis(8) warns you about that fact - and >> initializes the databases for you > Can't it do that silently? Of course i could delete the message, or only print it when running with the -p (picky) flag. But think about what is happening. The following is called: makewhatis -d directory file ... makewhatis -u directory file ... Which means "update/delete the entries for file ... in the database directory/mandoc.db". Now if that database doesn't even exist, makewhatis(8) should be silent about it, and about recreating the database from scratch? That could hide serious user error. The makewhatis(8) utility already is rather silent and only gets noisy when you specify -p. Of course, i could add a -q (quiet) option to make it even more silent, and use that -q option in pkg_add(1). But this particular error message is one i wouldn't feel very comfortable to hide by default. Yours, Ingo
