aboutsummaryrefslogtreecommitdiff
path: root/desktop/Tela-icon-theme/doinst.sh
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-07-02 21:03:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 21:27:42 +0700
commit2a0e5b16de8716501dcda8cac23844fff6dfdce9 (patch)
tree39c07518fa260dedbbc72de2eac421d77955b695 /desktop/Tela-icon-theme/doinst.sh
parent54eef7e1d93986325d491eb1b88f3cdd5a110341 (diff)
desktop/Tela-icon-theme: Updated for version 2023_06_25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000..885fb18c31
--- /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