diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-20 17:15:51 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-23 07:48:08 +0700 |
commit | ba10ff53379d3f8d498fb269b5ef4a5485a5894a (patch) | |
tree | 299e912dce84af5c397e6806198e42a8f8de5f9b /network/mailspring | |
parent | 14ec0b77e0828f6dbb0c90421f0b6fe0b1d25aee (diff) |
network/mailspring: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mailspring')
-rw-r--r-- | network/mailspring/doinst.sh | 7 |
1 files changed, 5 insertions, 2 deletions
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 |