summaryrefslogtreecommitdiff
path: root/games/stuntrally/doinst.sh
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+SBo@gmail.com>2017-01-23 13:38:36 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-24 00:21:50 +0000
commitd547cdb0919215448a1e8e9dd5ea7433a9553392 (patch)
treed48efd2cb02f8fa32f7bf7bdb264ddad532d9135 /games/stuntrally/doinst.sh
parentc48942f59e121cd9066c97333d3818c33fcea531 (diff)
downloadslackbuilds-d547cdb0919215448a1e8e9dd5ea7433a9553392.tar.gz
games/stuntrally: Added (game with Track Editor).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/stuntrally/doinst.sh')
-rw-r--r--games/stuntrally/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/stuntrally/doinst.sh b/games/stuntrally/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/games/stuntrally/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi