summaryrefslogtreecommitdiff
path: root/games/dustrac/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-12-29 23:05:28 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:06 -0600
commit0270819986f43965323d9ebe46bf9e15ae9cfc33 (patch)
tree330abb482b38d3d5d6c2d7bfa9dd2303bf32f271 /games/dustrac/doinst.sh
parente6e50645a63256f8c3c39796bc4886584872a9d7 (diff)
downloadslackbuilds-0270819986f43965323d9ebe46bf9e15ae9cfc33.tar.gz
games/dustrac: Added (2D racing game).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/dustrac/doinst.sh')
-rw-r--r--games/dustrac/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/dustrac/doinst.sh b/games/dustrac/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/dustrac/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