aboutsummaryrefslogtreecommitdiff
path: root/games/edgar/doinst.sh
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2015-05-24 09:49:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-24 09:49:15 +0700
commitd6e338a5074f753eb775fa2cdb5ffc33a912e247 (patch)
tree2e8b984e7db56c48df9b24ef329fd99f22d2a243 /games/edgar/doinst.sh
parent2d6386257473044b693a37db96478c6fa6dc0c7f (diff)
downloadslackbuilds-d6e338a5074f753eb775fa2cdb5ffc33a912e247.tar.xz
games/edgar: Added (A 2D platform game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/edgar/doinst.sh')
-rw-r--r--games/edgar/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/edgar/doinst.sh b/games/edgar/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/games/edgar/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