aboutsummaryrefslogtreecommitdiff
path: root/business
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-17 15:21:59 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-23 07:48:04 +0700
commit22a3eacb11c1caaa4043bdaa2f7f23619b727fdc (patch)
treef14177e7f79d9610cc5376385b70a32fb6dbf1e3 /business
parentaaff4eb15986c320a145c165c25e47e71e9f9b4e (diff)
business/binance-desktop: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'business')
-rw-r--r--business/binance-desktop/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/business/binance-desktop/doinst.sh b/business/binance-desktop/doinst.sh
index ea6e67c7b911..9169c83208a8 100644
--- a/business/binance-desktop/doinst.sh
+++ b/business/binance-desktop/doinst.sh
@@ -6,6 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
+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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi