summaryrefslogtreecommitdiff
path: root/games/minetest/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-02-25 00:12:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-25 00:13:22 +0700
commitadcd7d55edf12132fbc350978f4667b3dbe01ba8 (patch)
tree426287e78739d3715cdc99d400597f08557ebc79 /games/minetest/doinst.sh
parent3f0215c266a060eb758a125e5a48cad64fdcf919 (diff)
downloadslackbuilds-adcd7d55edf12132fbc350978f4667b3dbe01ba8.tar.gz
games/minetest: Added (Infinite-world block sandbox game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/minetest/doinst.sh')
-rw-r--r--games/minetest/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/minetest/doinst.sh b/games/minetest/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/games/minetest/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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