update-appstream-cache.hook 326 B

123456789101112131415161718
  1. [Trigger]
  2. Type = File
  3. Operation = Install
  4. Operation = Upgrade
  5. Operation = Remove
  6. Target = usr/share/metainfo/*
  7. [Trigger]
  8. Type = Package
  9. Operation = Install
  10. Operation = Upgrade
  11. Target = appstream
  12. [Action]
  13. Description = Updating the appstream cache...
  14. When = PostTransaction
  15. Exec = /usr/bin/appstreamcli refresh-cache --force