summaryrefslogtreecommitdiff
path: root/games/openttd/doinst.sh
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-11 22:23:06 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:06 +0200
commitd782810517438d930d4f9fa65617ab8f21c2feb8 (patch)
tree6e6b9c556fa9d3d636536afa2d5eb8f663166aec /games/openttd/doinst.sh
parente717f84ca76ed8cc998fa0fb864c6962b3069463 (diff)
downloadslackbuilds-d782810517438d930d4f9fa65617ab8f21c2feb8.tar.gz
games/openttd: Updated for version 0.6.3
Diffstat (limited to 'games/openttd/doinst.sh')
-rw-r--r--games/openttd/doinst.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/openttd/doinst.sh b/games/openttd/doinst.sh
index 474753e464..1be07cc6d6 100644
--- a/games/openttd/doinst.sh
+++ b/games/openttd/doinst.sh
@@ -1,8 +1,8 @@
-if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+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
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi