aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pacman.d/hooks/mandb.hook
diff options
context:
space:
mode:
Diffstat (limited to 'system/etc/pacman.d/hooks/mandb.hook')
-rw-r--r--system/etc/pacman.d/hooks/mandb.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/etc/pacman.d/hooks/mandb.hook b/system/etc/pacman.d/hooks/mandb.hook
new file mode 100644
index 0000000..de5971d
--- /dev/null
+++ b/system/etc/pacman.d/hooks/mandb.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/man/*
+
+[Action]
+Description = Updating manual database...
+When = PostTransaction
+Exec = /usr/bin/mandb --quiet