diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-02-25 00:12:05 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-02-25 00:13:22 +0700 |
commit | adcd7d55edf12132fbc350978f4667b3dbe01ba8 (patch) | |
tree | 426287e78739d3715cdc99d400597f08557ebc79 /games/minetest/doinst.sh | |
parent | 3f0215c266a060eb758a125e5a48cad64fdcf919 (diff) |
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.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/minetest/doinst.sh b/games/minetest/doinst.sh new file mode 100644 index 0000000000000..9424ce43ff572 --- /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 |