aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-17 22:27:12 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-17 22:27:12 +0000
commit5952108d968b7307c891a28c4e3755977a1d25f8 (patch)
treeec448e5ddec89d456f73c638e61c1545e401c676 /tbl.c
parent70e375bc0ac2abc353ce19a4a88627775797de77 (diff)
downloadmandoc-5952108d968b7307c891a28c4e3755977a1d25f8.tar.gz
mandoc-5952108d968b7307c891a28c4e3755977a1d25f8.tar.zst
mandoc-5952108d968b7307c891a28c4e3755977a1d25f8.zip
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@.
Diffstat (limited to 'tbl.c')
0 files changed, 0 insertions, 0 deletions