summaryrefslogtreecommitdiff
path: root/user/gtk+2.0/gtk-update-icon-cache.trigger
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 05:05:24 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 05:05:24 -0500
commit1b003691f4c0b002481fc174e77f241d14e22c1d (patch)
tree4095eac13b48a8665ceaa84bf45f470024b62bd3 /user/gtk+2.0/gtk-update-icon-cache.trigger
parent08d3d6f68760fff8922660c16643de05fbf459ed (diff)
downloadpackages-1b003691f4c0b002481fc174e77f241d14e22c1d.tar.gz
packages-1b003691f4c0b002481fc174e77f241d14e22c1d.tar.bz2
packages-1b003691f4c0b002481fc174e77f241d14e22c1d.tar.xz
packages-1b003691f4c0b002481fc174e77f241d14e22c1d.zip
user/gtk+2.0: bump and fix \o/
Diffstat (limited to 'user/gtk+2.0/gtk-update-icon-cache.trigger')
-rw-r--r--user/gtk+2.0/gtk-update-icon-cache.trigger9
1 files changed, 9 insertions, 0 deletions
diff --git a/user/gtk+2.0/gtk-update-icon-cache.trigger b/user/gtk+2.0/gtk-update-icon-cache.trigger
new file mode 100644
index 000000000..f24733593
--- /dev/null
+++ b/user/gtk+2.0/gtk-update-icon-cache.trigger
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+for i in "$@"; do
+ if ! [ -e "$i" ]; then
+ continue
+ fi
+ gtk-update-icon-cache -q -t -f $i
+done
+