summaryrefslogtreecommitdiff
path: root/multimedia/google-earth/doinst.sh
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2013-04-07 17:38:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-04-15 17:20:33 -0500
commitf679ae187182d1280d05c5d8b5500121047ce062 (patch)
tree51d9644e9adf2291f7422e14590157f945ede144 /multimedia/google-earth/doinst.sh
parent234633e4de41c68dccc6b10c7ada81fd3877d265 (diff)
downloadslackbuilds-f679ae187182d1280d05c5d8b5500121047ce062.tar.gz
multimedia/google-earth: Updated for version 7.0.3.8542.
This commit also renames the appdir to google-earth from GoogleEarth. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/google-earth/doinst.sh')
-rw-r--r--multimedia/google-earth/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/multimedia/google-earth/doinst.sh b/multimedia/google-earth/doinst.sh
new file mode 100644
index 0000000000..acbb07fe3d
--- /dev/null
+++ b/multimedia/google-earth/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
+fi
+