diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-12 23:29:32 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:29:32 +0200 |
commit | 3df03c0ccdc9bb2283d1725c1fb388d8c819a341 (patch) | |
tree | b0ed6ccca1d19aa292e97e72776af6ed21ff0491 /games/snes9x_gtk/doinst.sh | |
parent | 416f1e2c1b0ad5cdae54c0ada35e128ad2518efd (diff) | |
download | slackbuilds-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.sh | 10 |
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 + |