diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-04-26 13:27:57 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-04-27 12:18:17 -0500 |
commit | be57145eba4219b96afd73467eb97e7dc0aaabfa (patch) | |
tree | dc63c21aea30110b4b68ae3325add7a14b739f98 /games/mars/doinst.sh | |
parent | 732c597f27ef3ab58ea85d7dbd375eb243234469 (diff) | |
download | slackbuilds-be57145eba4219b96afd73467eb97e7dc0aaabfa.tar.gz |
games/mars: Added (Space shooter game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mars/doinst.sh')
-rw-r--r-- | games/mars/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/games/mars/doinst.sh b/games/mars/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/games/mars/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 |