summaryrefslogtreecommitdiff
path: root/pacman-post-install.hook
diff options
context:
space:
mode:
authorTilman Blumenbach <tilman+git@ax86.net>2016-01-30 20:43:55 +0100
committerJoey Hess <joeyh@joeyh.name>2016-02-02 12:11:16 -0400
commitba00b0240201ffd004512b19b84c0379a898d5c4 (patch)
tree3aca99d38f117b8e62a46030fa0c7460ccb56d59 /pacman-post-install.hook
parent2d371faabe6d3e92e9c8a4d0dd049df73ddc1d0b (diff)
Add hooks for Pacman 5.
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