diff options
author | Tilman Blumenbach <tilman+git@ax86.net> | 2016-01-30 20:43:55 +0100 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-02 12:11:16 -0400 |
commit | ba00b0240201ffd004512b19b84c0379a898d5c4 (patch) | |
tree | 3aca99d38f117b8e62a46030fa0c7460ccb56d59 /pacman-pre-install.hook | |
parent | 2d371faabe6d3e92e9c8a4d0dd049df73ddc1d0b (diff) |
Add hooks for Pacman 5.
Diffstat (limited to 'pacman-pre-install.hook')
-rw-r--r-- | pacman-pre-install.hook | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pacman-pre-install.hook b/pacman-pre-install.hook new file mode 100644 index 0000000..7d636dc --- /dev/null +++ b/pacman-pre-install.hook @@ -0,0 +1,15 @@ +# etckeeper pre-install hook for Pacman 5 and newer + +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = * + +[Action] +Description = etckeeper pre-install hook +When = PreTransaction +Exec = /usr/bin/etckeeper pre-install +Depends = etckeeper +AbortOnFail |