aboutsummaryrefslogtreecommitdiff
path: root/games/trigger-rally/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-05-13 22:43:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-13 22:43:51 +0700
commit47701e574308991c1ab70bade65a6565fddf104a (patch)
tree511609770794a04e2c0343ca319766353e6973dc /games/trigger-rally/doinst.sh
parent3ddf8004de7a8e444114cc83606f94806b7372a4 (diff)
games/trigger-rally: Added (Free OpenGL rally car racing game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/trigger-rally/doinst.sh')
-rw-r--r--games/trigger-rally/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/trigger-rally/doinst.sh b/games/trigger-rally/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/games/trigger-rally/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