From ba10ff53379d3f8d498fb269b5ef4a5485a5894a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 20 Jun 2023 17:15:51 -0400 Subject: network/mailspring: Fix doinst.sh. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/mailspring/doinst.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'network/mailspring') diff --git a/network/mailspring/doinst.sh b/network/mailspring/doinst.sh index 7b676c401ad55..726ffe403baf3 100644 --- a/network/mailspring/doinst.sh +++ b/network/mailspring/doinst.sh @@ -1,6 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications fi -if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -q usr/share/icons/hicolor + +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 -- cgit v1.2.3