summaryrefslogtreecommitdiffstats
path: root/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-03-15 13:58:31 +0000
committerOlivier Blin <blino@mageia.org>2011-03-15 13:58:31 +0000
commit4c4328833cb84e7e5e4eccbb385c9d4851bfd7b5 (patch)
treef6d8d18d835eb7a25088d351663a29c5058532d5 /files/draklive-install.d/run.d/generate-gtk-icon-cache.sh
downloaddraklive-config-4c4328833cb84e7e5e4eccbb385c9d4851bfd7b5.tar
draklive-config-4c4328833cb84e7e5e4eccbb385c9d4851bfd7b5.tar.gz
draklive-config-4c4328833cb84e7e5e4eccbb385c9d4851bfd7b5.tar.bz2
draklive-config-4c4328833cb84e7e5e4eccbb385c9d4851bfd7b5.tar.xz
draklive-config-4c4328833cb84e7e5e4eccbb385c9d4851bfd7b5.zip
import initial live config
Diffstat (limited to 'files/draklive-install.d/run.d/generate-gtk-icon-cache.sh')
-rwxr-xr-xfiles/draklive-install.d/run.d/generate-gtk-icon-cache.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh b/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh
new file mode 100755
index 0000000..e920320
--- /dev/null
+++ b/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for icondir in /usr/share/icons/*; do
+ if [ -d "$icondir" -a -f "$icondir/index.theme" ]; then
+ /usr/bin/gtk-update-icon-cache --force --quiet "$icondir";
+ fi
+done