ansible/roles/common/files/man-db.hook

12 lines
237 B
Plaintext

[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/man/*
[Action]
Description = Updating manpage index...
When = PostTransaction
Exec = /usr/bin/systemctl start --no-block man-db.service