aboutsummaryrefslogtreecommitdiff
path: root/games/wesnoth/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/wesnoth/doinst.sh')
-rw-r--r--games/wesnoth/doinst.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/wesnoth/doinst.sh b/games/wesnoth/doinst.sh
index bc1301dad0e01..2f4077c01485a 100644
--- a/games/wesnoth/doinst.sh
+++ b/games/wesnoth/doinst.sh
@@ -1,3 +1,4 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
fi
+