summaryrefslogtreecommitdiff
path: root/games/neverball/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/neverball/doinst.sh')
-rw-r--r--games/neverball/doinst.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/neverball/doinst.sh b/games/neverball/doinst.sh
index 5525db8a53..1f8ff67ded 100644
--- a/games/neverball/doinst.sh
+++ b/games/neverball/doinst.sh
@@ -1,5 +1,5 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
@@ -7,3 +7,4 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+