PKGBUILDs/extra/appstream/update-appstream-cache.hook
2020-01-19 10:31:04 +00:00

17 lines
326 B
Text

[Trigger]
Type = Path
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 cache...
When = PostTransaction
Exec = /usr/bin/appstreamcli refresh-cache --force