summaryrefslogtreecommitdiff
path: root/games/atanks/doinst.sh
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2015-06-25 00:42:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-25 00:42:27 +0700
commit13f5a4d417a9371ae9eafa6ee9ffc0804dfb1685 (patch)
treea9dd72b801563f3e2fc2b480091c522a38aa7b65 /games/atanks/doinst.sh
parente7bc49010f2f102a54c4a440d0ff6a4c792204de (diff)
downloadslackbuilds-13f5a4d417a9371ae9eafa6ee9ffc0804dfb1685.tar.gz
games/atanks: Added (Atomic Tanks).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/atanks/doinst.sh')
-rw-r--r--games/atanks/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/atanks/doinst.sh b/games/atanks/doinst.sh
new file mode 100644
index 0000000000..c9b350da4f
--- /dev/null
+++ b/games/atanks/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 \ No newline at end of file