summarylogtreecommitdiffstats
path: root/appimage-binfmt-remove.hook
diff options
context:
space:
mode:
Diffstat (limited to 'appimage-binfmt-remove.hook')
-rw-r--r--appimage-binfmt-remove.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/appimage-binfmt-remove.hook b/appimage-binfmt-remove.hook
new file mode 100644
index 000000000000..d96fd30cf9c0
--- /dev/null
+++ b/appimage-binfmt-remove.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = usr/lib/binfmt.d/appimage.conf
+
+[Action]
+Description = Unregistering appimage binary format...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/systemd-hook binfmt
+NeedsTargets