summaryrefslogtreecommitdiff
path: root/games/exult/doinst.sh
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2016-01-06 23:25:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-09 07:12:22 +0700
commitd66d1b325ee06313ae7a30ca42461b6daeab90f8 (patch)
tree219da9b4f94026a7766eab78c72e1ef8acfa08c8 /games/exult/doinst.sh
parent66ee3372edee35c3de335b02205ef56cb16873a3 (diff)
downloadslackbuilds-d66d1b325ee06313ae7a30ca42461b6daeab90f8.tar.gz
games/exult: Added (game engine for running Ultima7).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/exult/doinst.sh')
-rw-r--r--games/exult/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/exult/doinst.sh b/games/exult/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/exult/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