CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2017/05/17 16:26:52

Modified files:
        usr.bin/mandoc : makewhatis.8 mandocdb.c 

Log message:
Never create empty databases.

When pkg_add(1)ing packages installing manual pages into some directory,
the database in that directory automatically gets created or updated,
no change so far.  This patch causes the database file to be
automatically unlinked when pkg_delete(1)ing the last package having
manual pages in that directory, to leave less cruft behind.

Suggested by ajacoutot@.

Reply via email to