summaryrefslogtreecommitdiff
path: root/system/font-manager/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-11 02:54:27 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:11:19 +0700
commit824a9fe8879b923fd173454cd5dcab339166784a (patch)
tree6e3f5eae1152599d7da9d4fde5ac9122423aafb5 /system/font-manager/doinst.sh
parentf8fe1d67b9b8d97aba9f77ae02f338665926a942 (diff)
downloadslackbuilds-824a9fe8879b923fd173454cd5dcab339166784a.tar.gz
system/font-manager: Fix doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/font-manager/doinst.sh')
-rw-r--r--system/font-manager/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/font-manager/doinst.sh b/system/font-manager/doinst.sh
index f6a6676883..ebb9ce16ff 100644
--- a/system/font-manager/doinst.sh
+++ b/system/font-manager/doinst.sh
@@ -8,3 +8,8 @@ if [ -e usr/share/glib-2.0/schemas ]; then
fi
fi
+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
+ fi
+fi