summaryrefslogtreecommitdiff
path: root/games/ufoai/doinst.sh
diff options
context:
space:
mode:
authorJože Zobec <jozze.zepl@gmail.com>2012-12-29 19:25:57 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-29 19:26:58 +0100
commit881f6be2d508dcf466ad98cc83f790aefb7b69b4 (patch)
tree5f1e1784d2a9cec98e0f6bcfdb9358cd5ef03e9c /games/ufoai/doinst.sh
parent5b4d7565250281b9d9da048bdf72be57ba520da7 (diff)
downloadslackbuilds-881f6be2d508dcf466ad98cc83f790aefb7b69b4.tar.gz
games/ufoai: Added (opengl tactical strategy game).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/ufoai/doinst.sh')
-rw-r--r--games/ufoai/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/ufoai/doinst.sh b/games/ufoai/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/ufoai/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