summaryrefslogtreecommitdiff
path: root/games/crimson/doinst.sh
diff options
context:
space:
mode:
authorZbigniew Baniewski <zb@jabster.pl>2014-11-18 02:57:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-18 02:57:24 +0700
commit1398b11cc7490fc4da2a6d7684be2815be78ab82 (patch)
tree7cf43dde364315528d66cb3ed8b9501db529cc97 /games/crimson/doinst.sh
parente285b5ae73490e13f3ae8dc3452e646457a1dc9b (diff)
downloadslackbuilds-1398b11cc7490fc4da2a6d7684be2815be78ab82.tar.gz
games/crimson: Added (strategy game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/crimson/doinst.sh')
-rw-r--r--games/crimson/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/crimson/doinst.sh b/games/crimson/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/crimson/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