mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 08:03:10 +02:00
Merge pull request #1516 from henrychen95/master
Fix Amazon Linux bootstrapping error.
This commit is contained in:
+3
-1
@@ -85,6 +85,8 @@ ExperimentalBootstrap() {
|
|||||||
DeterminePythonVersion() {
|
DeterminePythonVersion() {
|
||||||
if command -v python2.7 > /dev/null ; then
|
if command -v python2.7 > /dev/null ; then
|
||||||
export LE_PYTHON=${LE_PYTHON:-python2.7}
|
export LE_PYTHON=${LE_PYTHON:-python2.7}
|
||||||
|
elif command -v python27 > /dev/null ; then
|
||||||
|
export LE_PYTHON=${LE_PYTHON:-python27}
|
||||||
elif command -v python2 > /dev/null ; then
|
elif command -v python2 > /dev/null ; then
|
||||||
export LE_PYTHON=${LE_PYTHON:-python2}
|
export LE_PYTHON=${LE_PYTHON:-python2}
|
||||||
elif command -v python > /dev/null ; then
|
elif command -v python > /dev/null ; then
|
||||||
@@ -135,7 +137,7 @@ then
|
|||||||
elif uname | grep -iq Darwin ; then
|
elif uname | grep -iq Darwin ; then
|
||||||
ExperimentalBootstrap "Mac OS X" mac.sh
|
ExperimentalBootstrap "Mac OS X" mac.sh
|
||||||
elif grep -iq "Amazon Linux" /etc/issue ; then
|
elif grep -iq "Amazon Linux" /etc/issue ; then
|
||||||
ExperimentalBootstrap "Amazon Linux" amazon_linux.sh
|
ExperimentalBootstrap "Amazon Linux" _rpm_common.sh
|
||||||
else
|
else
|
||||||
echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!"
|
echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!"
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user