[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/app-info/*

[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = appstream

[Action]
Description = Updating the appstream index...
When = PostTransaction
Exec = /usr/bin/appstreamcli refresh-cache --force
