summaryrefslogtreecommitdiffstats
path: root/games/dolphin-emu/doinst.sh
diff options
context:
space:
mode:
author Larry Hajali <larryhaja[at]gmail[dot]com>2013-01-08 17:22:52 +0100
committer dsomero <xgizzmo@slackbuilds.org>2013-01-09 18:52:28 -0500
commit1791aceed9858eb95f8d0c63b4a41ba5563ec142 (patch)
tree8466d853165a9dea4f72707b7d67be805dbdd383 /games/dolphin-emu/doinst.sh
parent6375d5b12e194283a398ccf27d8bde9eb10ba792 (diff)
downloadslackbuilds-1791aceed9858eb95f8d0c63b4a41ba5563ec142.tar.gz
slackbuilds-1791aceed9858eb95f8d0c63b4a41ba5563ec142.tar.xz
games/dolphin-emu: Added (Gamecube emulator).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/dolphin-emu/doinst.sh')
-rw-r--r--games/dolphin-emu/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/dolphin-emu/doinst.sh b/games/dolphin-emu/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/dolphin-emu/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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