aboutsummaryrefslogtreecommitdiff
path: root/games/m64py/doinst.sh
diff options
context:
space:
mode:
authorLuis Henrique <lmello.009@gmail.com>2013-07-13 01:28:19 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-07-14 17:07:20 -0500
commitb242ee7ccdbe7c7b51ec46c27bdabd6302a1a703 (patch)
treef457a5047301d22d7bd3b4d1923f887c0cd6d968 /games/m64py/doinst.sh
parent4b3da00823cf52d86751ccb7ba208abe801332ef (diff)
games/m64py: Added (mupen64plus GUI)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/m64py/doinst.sh')
-rw-r--r--games/m64py/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/m64py/doinst.sh b/games/m64py/doinst.sh
new file mode 100644
index 0000000000000..9830478e8cc75
--- /dev/null
+++ b/games/m64py/doinst.sh
@@ -0,0 +1,14 @@
+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 [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+