diff options
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 |