summarylogtreecommitdiffstats
path: root/gtk-update-icon-cache.hook
diff options
context:
space:
mode:
authorxiota2023-07-09 11:09:56 -0700
committerxiota2023-07-09 14:24:01 -0700
commit7e73c72e1ba2867ca6d35c3e80ae2e05f509ad3d (patch)
tree7acfa611fa1f88efad72348bd5e140751e80b360 /gtk-update-icon-cache.hook
parent10fb2c410dd07b1f496d966ba88da3f7334fc9b4 (diff)
downloadaur-7e73c72e1ba2867ca6d35c3e80ae2e05f509ad3d.tar.gz
4.11.4.r25
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 000000000000..758a62187a9b
--- /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