Show error when no python is found

This commit is contained in:
Matthias 2019-01-05 19:50:46 +01:00
parent c8d40e81f0
commit 31da42a485
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ function check_installed_python() {
return
fi
if [ -z ${PYTHON} ]; then
echo "No usable python found. Please make sure to have python3.6 or python3.7 installed"
exit 1
fi
}
function updateenv () {