jobextra/appstream/update-appstream-cache.hook

19 lines
357 B
Plaintext

[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