summaryrefslogtreecommitdiffstats
path: root/games/dolphin-emu/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/dolphin-emu/doinst.sh')
-rw-r--r--games/dolphin-emu/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/dolphin-emu/doinst.sh b/games/dolphin-emu/doinst.sh
index 65c7e2eeb9..262eb5a9e5 100644
--- a/games/dolphin-emu/doinst.sh
+++ b/games/dolphin-emu/doinst.sh
@@ -2,6 +2,11 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1