summarylogtreecommitdiffstats
path: root/diffrepo.hook.example
diff options
context:
space:
mode:
authorayekat2018-09-12 15:15:59 +0200
committerayekat2018-09-12 15:15:59 +0200
commitc3fe6aa5be94bfeb6778fb290a634d1295fe7a5a (patch)
tree024143e8b5dd070741d487e293a631492eb6c1bb /diffrepo.hook.example
downloadaur-c3fe6aa5be94bfeb6778fb290a634d1295fe7a5a.tar.gz
0.6.5-1 (initial packaging)
Forked off from the pacman-hacks PKGBUILD. The history could not be retained, as the AUR doesn't like commits that don't contain a .SRCINFO.
Diffstat (limited to 'diffrepo.hook.example')
-rw-r--r--diffrepo.hook.example13
1 files changed, 13 insertions, 0 deletions
diff --git a/diffrepo.hook.example b/diffrepo.hook.example
new file mode 100644
index 000000000000..e266b248809e
--- /dev/null
+++ b/diffrepo.hook.example
@@ -0,0 +1,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