summarylogtreecommitdiffstats
path: root/diffrepo.hook.example
blob: e266b248809eade1683d57c2a75c0996f411eb6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Example hook for running diffrepo before each upgrade

[Trigger]
Operation = Upgrade
Type = Package
Target = *

[Action]
Description = Checking package version consistency for XYZ...
When = PreTransaction
AbortOnFail
Depends = pacman-hacks
Exec = /usr/bin/diffrepo -r -n ABC -s XYZ