aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pacman.d/hooks/mandb.hook
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-06 03:53:51 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-06 03:53:51 +0300
commitb943ef609ef9aeba96599770f730d27b529146a6 (patch)
tree4cea10e6576ed1b8a47ddead13301aa6e4f42ae4 /system/etc/pacman.d/hooks/mandb.hook
parentf0cc6eec402a0deceafc0e0663d77008a969d7aa (diff)
downloadswayrice-b943ef609ef9aeba96599770f730d27b529146a6.tar.gz
swayrice-b943ef609ef9aeba96599770f730d27b529146a6.zip
cleanup: remove old files, improve install
Clean up old files and improve installation of system-wide configuration.
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