aboutsummaryrefslogtreecommitdiff
path: root/desktop/Tela-icon-theme/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Tela-icon-theme/doinst.sh')
-rw-r--r--desktop/Tela-icon-theme/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/Tela-icon-theme/doinst.sh b/desktop/Tela-icon-theme/doinst.sh
new file mode 100644
index 0000000000000..885fb18c3168e
--- /dev/null
+++ b/desktop/Tela-icon-theme/doinst.sh
@@ -0,0 +1,7 @@
+for theme_dir in usr/share/icons/Tela usr/share/icons/Tela-dark; do
+ if [ -e $theme_dir/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f $theme_dir >/dev/null 2>&1
+ fi
+ fi
+done