summaryrefslogtreecommitdiff
path: root/games/snes9x/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-03-03 14:19:01 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:23:52 +0200
commit5e5e21ae60003c107e7d5170385483f96a9fab0e (patch)
tree94c520ec9840af192045bba46185b7ff2fbd9341 /games/snes9x/doinst.sh
parentdf3bd326d7c8d38d7a3063971f74db9b7e5a9bb3 (diff)
downloadslackbuilds-5e5e21ae60003c107e7d5170385483f96a9fab0e.tar.gz
games/snes9x: Added.
Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) emulator. This replaces snes9x_gtk. Thanks to B. Watson.
Diffstat (limited to 'games/snes9x/doinst.sh')
-rw-r--r--games/snes9x/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/snes9x/doinst.sh b/games/snes9x/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/games/snes9x/doinst.sh
@@ -0,0 +1,10 @@
+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
+