Difference between revisions of "DeveloperWiki:Pacman Hooks"

From ArchWiki
Jump to: navigation, search
(OTHER)
(update-mime-database)
Line 10: Line 10:
 
Used by 142 packages
 
Used by 142 packages
  
Proposed Hook
+
Proposed Hook (shared-mime-info)
  TODO
+
  [Trigger]
 +
Type = File
 +
Operation = Install
 +
Operation = Upgrade
 +
Operation = Remove
 +
Target = usr/share/mime/packages/*.xml
 +
 
 +
[Action]
 +
Description = Updating the Shared MIME-Info database cache...
 +
When = PostTransaction
 +
Exec = /usr/bin/update-mime-database /usr/share/mime
  
 
==install-info==
 
==install-info==

Revision as of 06:43, 23 April 2016

Hooks!

update-desktop-database

Used by 490 packages

Proposed Hook

TODO

update-mime-database

Used by 142 packages

Proposed Hook (shared-mime-info)

[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/mime/packages/*.xml
[Action]
Description = Updating the Shared MIME-Info database cache...
When = PostTransaction
Exec = /usr/bin/update-mime-database /usr/share/mime

install-info

Used by 170 packages

Proposed Hook (install/upgrade)

TODO

Proposed Hook (remove)

TODO


OTHER

  • mkfontdir
  • fc-cache
  • gtk-update-icon-cache
  • xdg-icon-resource