diff --git a/business/binance-desktop/doinst.sh b/business/binance-desktop/doinst.sh index ea6e67c7b9..9169c83208 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