aboutsummaryrefslogtreecommitdiff
path: root/games/openarena/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/openarena/doinst.sh')
-rw-r--r--games/openarena/doinst.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/openarena/doinst.sh b/games/openarena/doinst.sh
index 2cf8c08ed3458..800ab3f267c88 100644
--- a/games/openarena/doinst.sh
+++ b/games/openarena/doinst.sh
@@ -1,7 +1,7 @@
-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