summaryrefslogtreecommitdiff
path: root/games/snes9x_gtk/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-12 23:29:32 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:29:32 +0200
commit3df03c0ccdc9bb2283d1725c1fb388d8c819a341 (patch)
treeb0ed6ccca1d19aa292e97e72776af6ed21ff0491 /games/snes9x_gtk/doinst.sh
parent416f1e2c1b0ad5cdae54c0ada35e128ad2518efd (diff)
downloadslackbuilds-3df03c0ccdc9bb2283d1725c1fb388d8c819a341.tar.gz
games/snes9x_gtk: Added to 12.2 repository
Diffstat (limited to 'games/snes9x_gtk/doinst.sh')
-rw-r--r--games/snes9x_gtk/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/snes9x_gtk/doinst.sh b/games/snes9x_gtk/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/games/snes9x_gtk/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
+