summarylogtreecommitdiffstats
path: root/openasar-git-discord-remove.hook
diff options
context:
space:
mode:
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