aboutsummaryrefslogtreecommitdiff
path: root/business/bisq/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-17 15:22:31 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-23 07:48:04 +0700
commite6a2ca0d88521df2fb61c104e9c6d202ad82aa76 (patch)
tree96c3aed73359db0f397474d1072c8d27c67360dd /business/bisq/doinst.sh
parent22a3eacb11c1caaa4043bdaa2f7f23619b727fdc (diff)
business/bisq: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'business/bisq/doinst.sh')
-rw-r--r--business/bisq/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/business/bisq/doinst.sh b/business/bisq/doinst.sh
index ea6e67c7b911..9169c83208a8 100644
--- a/business/bisq/doinst.sh
+++ b/business/bisq/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