aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xartix.sh1
-rw-r--r--system/pacman.d/hooks/mandb.hook11
2 files changed, 12 insertions, 0 deletions
diff --git a/artix.sh b/artix.sh
index ef786e0..f773186 100755
--- a/artix.sh
+++ b/artix.sh
@@ -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