notes/custom_hooks/mandb-update.hook

11 lines
215 B
Text

[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/man/*
[Action]
Description = Updating manpage index cache...
When = PostTransaction
Exec = /usr/bin/mandb --quiet