From 4b6d57948097d18e368d12bee258269622bae552 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Mon, 1 Jul 2019 12:06:22 -0400 Subject: [PATCH] show version on install --- webapp/install-mts.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp/install-mts.sh b/webapp/install-mts.sh index 5d06732..98530c9 100755 --- a/webapp/install-mts.sh +++ b/webapp/install-mts.sh @@ -43,6 +43,7 @@ else fi pushd "$extracted_name" +extracted_dir="`pwd`" extra_options="" @@ -416,6 +417,10 @@ else fi popd echo "* finished compiling." +if [ -f "$extracted_dir/release.txt" ]; then + echo " - version:" + cat "$extracted_dir/release.txt" +fi if [ "@$enable_run_after_compile" = "@true" ]; then echo "Trying to run minetest or other custom post-install script" echo "(enable_run_after_compile is true in '$scripting_rc_path')."