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