summaryrefslogtreecommitdiff
path: root/source/l/gnome-themes-extra/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/gnome-themes-extra/doinst.sh')
-rw-r--r--source/l/gnome-themes-extra/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/l/gnome-themes-extra/doinst.sh b/source/l/gnome-themes-extra/doinst.sh
new file mode 100644
index 00000000..9b0defbe
--- /dev/null
+++ b/source/l/gnome-themes-extra/doinst.sh
@@ -0,0 +1,8 @@
+for i in HighContrast Adwaita ; do
+ if [ -e usr/share/icons/$theme/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/$theme >/dev/null 2>&1
+ fi
+ fi
+done
+