diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-02-15 22:09:05 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-02-15 22:09:05 +0300 |
commit | 7e53c43c0b5d95ba27fdc0b74616d275128026cc (patch) | |
tree | 8a3dd5847833bef3f6965450114d5ed2647b90c6 | |
parent | cd0c81bc61e3590f9007b56ec328006726bba230 (diff) | |
download | swayrice-7e53c43c0b5d95ba27fdc0b74616d275128026cc.tar.gz swayrice-7e53c43c0b5d95ba27fdc0b74616d275128026cc.zip |
pacman mandb hook
-rwxr-xr-x | artix.sh | 1 | ||||
-rw-r--r-- | system/pacman.d/hooks/mandb.hook | 11 |
2 files changed, 12 insertions, 0 deletions
@@ -29,6 +29,7 @@ cp system/resolvconf.conf /etc/ cp system/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.conf cp system/mkinitcpio.conf /etc/ cp system/pam.d/* /etc/pam.d/ +cp -r system/pacman.d/hooks /etc/pacman.d/ resolvconf -u diff --git a/system/pacman.d/hooks/mandb.hook b/system/pacman.d/hooks/mandb.hook new file mode 100644 index 0000000..de5971d --- /dev/null +++ b/system/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 |