summaryrefslogtreecommitdiff
path: root/user/gtk+2.0/gtk-update-icon-cache.trigger
diff options
context:
space:
mode:
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
+