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