summarylogtreecommitdiffstats
path: root/update-bamf-index.hook
diff options
context:
space:
mode:
authorQue Quotion2018-01-09 02:25:34 +0900
committerQue Quotion2018-01-09 02:25:34 +0900
commitd86203c151960d8a9af399f272a6239e3108df96 (patch)
tree178ad8ddaab12750dd158916582fd78548a6f798 /update-bamf-index.hook
downloadaur-bamf-ubuntu-bzr.tar.gz
bamf-ubuntu-bzr: latest bamf with canonical's patches
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