summaryrefslogtreecommitdiff
path: root/pacman-post-install.hook
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-post-install.hook')
-rw-r--r--pacman-post-install.hook14
1 files changed, 14 insertions, 0 deletions
diff --git a/pacman-post-install.hook b/pacman-post-install.hook
new file mode 100644
index 0000000..f3e0671
--- /dev/null
+++ b/pacman-post-install.hook
@@ -0,0 +1,14 @@
+# etckeeper post-install hook for Pacman 5 and newer
+
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Type = Package
+Target = *
+
+[Action]
+Description = etckeeper post-install hook
+When = PostTransaction
+Exec = /usr/bin/etckeeper post-install
+Depends = etckeeper