summarylogtreecommitdiffstats
path: root/remove.hook
diff options
context:
space:
mode:
Diffstat (limited to 'remove.hook')
-rw-r--r--remove.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/remove.hook b/remove.hook
new file mode 100644
index 000000000000..560e3b0c7a31
--- /dev/null
+++ b/remove.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = usr/share/icons/*/
+
+[Action]
+Description = Removing archpkg mimetypes icons...
+When = PreTransaction
+Exec = /usr/share/libalpm/scripts/mime-archpkg -r
+NeedsTargets