diff options
author | Olivier Blin <blino@mageia.org> | 2011-03-15 13:58:31 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-03-15 13:58:31 +0000 |
commit | 4c4328833cb84e7e5e4eccbb385c9d4851bfd7b5 (patch) | |
tree | f6d8d18d835eb7a25088d351663a29c5058532d5 /files/draklive-install.d/run.d/generate-gtk-icon-cache.sh | |
download | draklive-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-x | files/draklive-install.d/run.d/generate-gtk-icon-cache.sh | 7 |
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 |