summaryrefslogtreecommitdiff
path: root/multimedia/google-earth/doinst.sh
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2014-09-01 02:02:38 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-05 23:23:07 +0700
commiteee37b4b4554648f92d2c9048b6cda17b219886c (patch)
treed4ac9ca04fcd8c82db3006c4fe50e26145dad00e /multimedia/google-earth/doinst.sh
parentb47d6b829fe01758ebcf6bb321c0ccda89689708 (diff)
downloadslackbuilds-eee37b4b4554648f92d2c9048b6cda17b219886c.tar.gz
multimedia/google-earth: Bugfixes for icon and doinst.sh.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
Diffstat (limited to 'multimedia/google-earth/doinst.sh')
-rw-r--r--multimedia/google-earth/doinst.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/google-earth/doinst.sh b/multimedia/google-earth/doinst.sh
index acbb07fe3d..58989910ea 100644
--- a/multimedia/google-earth/doinst.sh
+++ b/multimedia/google-earth/doinst.sh
@@ -5,4 +5,10 @@ fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
fi
-
+
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+