summarylogtreecommitdiffstats
path: root/gtk4-update-icon-cache.hook
diff options
context:
space:
mode:
authorDario Ostuni2017-04-09 12:41:46 +0200
committerDario Ostuni2017-04-09 12:41:46 +0200
commit64e6f546ecdfcceb2ef1af392964d68a1c0bcbed (patch)
tree0b934f1174917343cc083ef6e0abdd7c7cfb553e /gtk4-update-icon-cache.hook
downloadaur-64e6f546ecdfcceb2ef1af392964d68a1c0bcbed.tar.gz
Initial commit
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