summaryrefslogtreecommitdiffstats
path: root/network/mailspring/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/mailspring/doinst.sh')
-rw-r--r--network/mailspring/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/mailspring/doinst.sh b/network/mailspring/doinst.sh
index 7b676c401a..726ffe403b 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