summaryrefslogtreecommitdiff
path: root/games/spring/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-13 00:27:09 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:27:09 +0200
commit8e84134d2558f98211f0c8c2146f920fd63cf14f (patch)
tree51dfcd9f7ba11c4c9f7d703ffc6093cae679ffe3 /games/spring/doinst.sh
parentd7018821d28149bdc8009de31bd2232674a19751 (diff)
downloadslackbuilds-8e84134d2558f98211f0c8c2146f920fd63cf14f.tar.gz
games/spring: Updated for version 0.80.5.2
Diffstat (limited to 'games/spring/doinst.sh')
-rw-r--r--games/spring/doinst.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/spring/doinst.sh b/games/spring/doinst.sh
index 24e4bc11e0..e4e6459838 100644
--- a/games/spring/doinst.sh
+++ b/games/spring/doinst.sh
@@ -1,4 +1,8 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi