summaryrefslogtreecommitdiffstats
path: root/abs/extra/gtk3/gtk-update-icon-cache.hook
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/gtk3/gtk-update-icon-cache.hook')
-rw-r--r--abs/extra/gtk3/gtk-update-icon-cache.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/gtk3/gtk-update-icon-cache.hook b/abs/extra/gtk3/gtk-update-icon-cache.hook
new file mode 100644
index 0000000..fca3fdc
--- /dev/null
+++ b/abs/extra/gtk3/gtk-update-icon-cache.hook
@@ -0,0 +1,13 @@
+[Trigger]
+Type = File
+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