summaryrefslogtreecommitdiff
path: root/games/flare-game/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-02-27 11:49:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-27 11:49:58 +0700
commitd1e614fea971b6bc4d6c7250e703b80f3c141082 (patch)
tree918e606a2b5be1eaeda9e91d307a0503efc69677 /games/flare-game/doinst.sh
parent54e5e9de6658cddf9800b3b96efaf494dcbf5479 (diff)
downloadslackbuilds-d1e614fea971b6bc4d6c7250e703b80f3c141082.tar.gz
games/flare-game: Added (Fantasy action RPG).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/flare-game/doinst.sh')
-rw-r--r--games/flare-game/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/flare-game/doinst.sh b/games/flare-game/doinst.sh
new file mode 100644
index 0000000000..9830478e8c
--- /dev/null
+++ b/games/flare-game/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /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
+