aboutsummaryrefslogtreecommitdiff
path: root/games/gemrb/doinst.sh
diff options
context:
space:
mode:
authorTobias Schmid <tobias.schmid@gmail.com>2013-03-11 21:13:20 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-03-22 07:16:41 -0400
commit8a3a9945ec2c74b311eb164c5c8bd2dc8922ca62 (patch)
tree23ce2467739c08ba7007275d99700b002144ce48 /games/gemrb/doinst.sh
parentc384a6e16bf892c97f1683eb8ad701b0b47a2a95 (diff)
games/gemrb: Added (Infinity engine open-source implementation)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/gemrb/doinst.sh')
-rw-r--r--games/gemrb/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/gemrb/doinst.sh b/games/gemrb/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/games/gemrb/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