mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
What error command is doing here ?
This commit is contained in:
parent
b50f3eeb8d
commit
5f099640a5
1 changed files with 5 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ source /opt/rh/python27/enable
|
|||
python3 --version 2> /dev/null
|
||||
RESULT=$?
|
||||
if [ $RESULT -eq 0 ]; then
|
||||
error "Python3 is already installed."
|
||||
echo "Python3 is already installed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ fi
|
|||
python2.7 --version 2> /dev/null
|
||||
RESULT=$?
|
||||
if [ $RESULT -ne 0 ]; then
|
||||
error "Python3 is not available."
|
||||
echo "Python3 is not available."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ fi
|
|||
python3 --version 2> /dev/null
|
||||
RESULT=$?
|
||||
if [ $RESULT -eq 0 ]; then
|
||||
error "letsencrypt-auto installed Python3 even though Python2.7 is present."
|
||||
echo "letsencrypt-auto installed Python3 even though Python2.7 is present."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ echo "PASSED: Did not upgrade to Python3 when Python2.7 is present."
|
|||
python2.7 --version 2> /dev/null
|
||||
RESULT=$?
|
||||
if [ $RESULT -eq 0 ]; then
|
||||
error "Python2.7 is still available."
|
||||
echo "Python2.7 is still available."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ fi
|
|||
python3 --version > /dev/null
|
||||
RESULT=$?
|
||||
if [ $RESULT -ne 0 ]; then
|
||||
error "letsencrypt-auto failed to install Python3 when only Python2.6 is present."
|
||||
echo "letsencrypt-auto failed to install Python3 when only Python2.6 is present."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue