aboutsummaryrefslogtreecommitdiff
path: root/games/sumwars/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-03-31 22:05:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-07 14:43:45 +0700
commit2bdc039a592427d995650e68e08b64f8f6d68d3a (patch)
treecfe4f5d94268fcb5d160f253a18024d456867976 /games/sumwars/doinst.sh
parent3a915b37d382f5426448dc0a0511b070e3fe0605 (diff)
games/sumwars: Added (role-playing game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/sumwars/doinst.sh')
-rw-r--r--games/sumwars/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/sumwars/doinst.sh b/games/sumwars/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/games/sumwars/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