summarylogtreecommitdiffstats
path: root/update-bamf-index.hook
diff options
context:
space:
mode:
Diffstat (limited to 'update-bamf-index.hook')
-rw-r--r--update-bamf-index.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/update-bamf-index.hook b/update-bamf-index.hook
new file mode 100644
index 000000000000..d8baa71ae2d5
--- /dev/null
+++ b/update-bamf-index.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/applications/*.desktop
+
+[Action]
+Description = Updating BAMF index...
+When = PostTransaction
+Exec = /usr/lib/bamf/update-bamf-index.sh