summaryrefslogtreecommitdiff
path: root/games/oolite/doinst.sh
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds[at]schoepfer[dot]info>2016-07-28 11:06:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:31 +0700
commit29e7b0e5f18951eaa5860a730b7f634666ef4d3c (patch)
tree029d53bd4209d62a2ac67db96a2e1216965c6443 /games/oolite/doinst.sh
parent78535101aedc210013e3572820d4ff391b24ed70 (diff)
downloadslackbuilds-29e7b0e5f18951eaa5860a730b7f634666ef4d3c.tar.gz
games/oolite: Added (an open-world space opera).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/oolite/doinst.sh')
-rw-r--r--games/oolite/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/oolite/doinst.sh b/games/oolite/doinst.sh
new file mode 100644
index 0000000000..2472345872
--- /dev/null
+++ b/games/oolite/doinst.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi