[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