summarylogtreecommitdiffstats
path: root/openasar-git-discord-remove.hook
diff options
context:
space:
mode:
authorkamack382022-11-08 17:36:36 +0100
committerkamack382022-11-08 17:36:36 +0100
commita7e7ddb8a0e12cf2592b48005400cf914039ba74 (patch)
tree7a3e8c7a69b2a750dee17d946f9d1473f4fc4f52 /openasar-git-discord-remove.hook
parent7317d4929a2b991a9625a5ff842dd50d8a015af5 (diff)
downloadaur-a7e7ddb8a0e12cf2592b48005400cf914039ba74.tar.gz
refactor: 💡 Add discord post and pre hooks
Diffstat (limited to 'openasar-git-discord-remove.hook')
-rw-r--r--openasar-git-discord-remove.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/openasar-git-discord-remove.hook b/openasar-git-discord-remove.hook
new file mode 100644
index 000000000000..7173a81e1a68
--- /dev/null
+++ b/openasar-git-discord-remove.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = Package
+Operation = Remove
+Target = discord
+
+[Action]
+Description = Reverting to the offcial asar...
+When = PreTransaction
+Exec = /usr/share/libalpm/scripts/pre-remove-discord