diff options
Diffstat (limited to 'games/openttd/doinst.sh')
-rw-r--r-- | games/openttd/doinst.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/openttd/doinst.sh b/games/openttd/doinst.sh index 474753e464482..1be07cc6d67b4 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 |