diff options
author | Chess Griffin <chess@chessgriffin.com> | 2010-05-12 17:39:26 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:39:26 +0200 |
commit | 7a9ca4915b684dff9c88792e75ad4c8772407e92 (patch) | |
tree | efdc17fe0084f831123168a13e01792480c948bd /games/openttd/doinst.sh | |
parent | b1a3a536e717eea2873d338aab160eca7cc1bfa9 (diff) |
games/openttd: Updated for version 0.7.0
Diffstat (limited to 'games/openttd/doinst.sh')
-rw-r--r-- | games/openttd/doinst.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games/openttd/doinst.sh b/games/openttd/doinst.sh index 1be07cc6d67b4..9830478e8cc75 100644 --- a/games/openttd/doinst.sh +++ b/games/openttd/doinst.sh @@ -1,8 +1,14 @@ - if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications + /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 + |