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

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

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