aboutsummaryrefslogtreecommitdiff
path: root/games/f1spirit/doinst.sh
diff options
context:
space:
mode:
authorZbigniew Baniewski <Zbigniew.Baniewski@gmail.com>2013-06-30 00:25:46 -0500
committerErik Hanson <erik@slackbuilds.org>2013-06-30 00:25:46 -0500
commit9e74f87699287cdc59f01cdb565a68521365e1bc (patch)
tree1f193ab9cc0831056631a08c0aecc1358cac6a4e /games/f1spirit/doinst.sh
parent918a1e3ff8516fcb6b6dbb03dde3b45f28112440 (diff)
games/f1spirit: Added (F-1 Spirit Remake)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games/f1spirit/doinst.sh')
-rw-r--r--games/f1spirit/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/f1spirit/doinst.sh b/games/f1spirit/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/games/f1spirit/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