summaryrefslogtreecommitdiffstats
path: root/desktop/gnome-colors/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gnome-colors/doinst.sh')
-rw-r--r--desktop/gnome-colors/doinst.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/gnome-colors/doinst.sh b/desktop/gnome-colors/doinst.sh
index 8542d1c18e..46bc527bd9 100644
--- a/desktop/gnome-colors/doinst.sh
+++ b/desktop/gnome-colors/doinst.sh
@@ -1,5 +1,7 @@
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+for theme in brave carbonite colors-common dust human illustrious noble tribute wine wise ; do
+ if [ -e usr/share/icons/gnome-$theme/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/gnome-$theme >/dev/null 2>&1
+ fi
fi
-fi
+done