summaryrefslogtreecommitdiff
path: root/games/spring/doinst.sh
diff options
context:
space:
mode:
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