From 24f6b3175e69098413276c6bac3ef83736e82b06 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Sat, 10 Mar 2018 22:31:50 -0500 Subject: [PATCH] provide info on project status --- etc/game-install-ENLIVEN | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/game-install-ENLIVEN b/etc/game-install-ENLIVEN index 308e7b1..3e67a71 100755 --- a/etc/game-install-ENLIVEN +++ b/etc/game-install-ENLIVEN @@ -38,6 +38,7 @@ if [ "$1" = "--help" ]; then echo echo "local_enable= (where value is true or false): forces /usr/local/share/minetest (if not specified, script detects minetest but if exists both in /usr/share/ and /usr/local/share, prefers /usr/local/share/minetest)" echo + exit 0 fi if [ "$1" = "version_0_5_enable=true" ]; then version_0_5_enable="true" @@ -1334,7 +1335,8 @@ fi echo "(used $MT_MINETEST_GAME_PATH as base)" echo "spawners_enable: $spawners_enable" -if [ command -v "blender" ]; then +if [ -f `command -v "blender"` ]; then + BLENDER_CURRENT_VERSION=`blender --version | cut -d " " -f 2` if [ ! -f "" ]; then cd ~ if [ ! -d Downloads ]; then