summarylogtreecommitdiffstats
path: root/gtk4-update-icon-cache.hook
diff options
context:
space:
mode:
authorandrewSC2016-11-18 15:01:43 -0500
committerandrewSC2016-11-18 15:01:43 -0500
commitd676254c1d706610146bb2cdf078cf3c5af634ef (patch)
tree921518168eb036142645cee86937efa2f83f63ec /gtk4-update-icon-cache.hook
downloadaur-d676254c1d706610146bb2cdf078cf3c5af634ef.tar.gz
Initial commit for gtk4
Diffstat (limited to 'gtk4-update-icon-cache.hook')
-rw-r--r--gtk4-update-icon-cache.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk4-update-icon-cache.hook b/gtk4-update-icon-cache.hook
new file mode 100644
index 000000000000..fca3fdc47dbb
--- /dev/null
+++ b/gtk4-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