mirror of
https://github.com/certbot/certbot.git
synced 2026-04-28 01:28:25 -04:00
Abort when no Pythons are found
It seems ill-advised to continue without setting the LE_PYTHON variable, when the very next command tries to use it.
This commit is contained in:
parent
3838ea4ad1
commit
73878f2457
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ DeterminePythonVersion() {
|
|||
export LE_PYTHON=${LE_PYTHON:-python}
|
||||
else
|
||||
echo "Cannot find any Pythons... please install one!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PYVER=`$LE_PYTHON --version 2>&1 | cut -d" " -f 2 | cut -d. -f1,2 | sed 's/\.//'`
|
||||
|
|
|
|||
Loading…
Reference in a new issue