summarylogtreecommitdiffstats
path: root/gtk-update-icon-cache.hook
diff options
context:
space:
mode:
Diffstat (limited to 'gtk-update-icon-cache.hook')
-rw-r--r--gtk-update-icon-cache.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk-update-icon-cache.hook b/gtk-update-icon-cache.hook
new file mode 100644
index 00000000000..758a62187a9
--- /dev/null
+++ b/gtk-update-icon-cache.hook
@@ -0,0 +1,13 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/icons/*/
+Target = !usr/share/icons/*/?*
+
+[Action]
+Description = Updating icon theme caches...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
+NeedsTargets