summaryrefslogtreecommitdiff
path: root/games/commandergenius/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-21 20:39:07 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:22:59 +0100
commit86734105b545024f24170ea0829ab0e571e9f753 (patch)
tree48f544df55b4b031fffc06a57ea31d7886bd19e4 /games/commandergenius/doinst.sh
parent143c95cef219c4f10d67e5127f6778b5aa0dc9a8 (diff)
downloadslackbuilds-86734105b545024f24170ea0829ab0e571e9f753.tar.gz
games/commandergenius: Added (engine for Commander Keen games).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/commandergenius/doinst.sh')
-rw-r--r--games/commandergenius/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/commandergenius/doinst.sh b/games/commandergenius/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/commandergenius/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