diff options
author | Henry Chen <yongwei.chen@gmail.com> | 2015-11-16 11:24:31 +0300 |
---|---|---|
committer | Henry Chen <yongwei.chen@gmail.com> | 2015-11-16 11:24:31 +0300 |
commit | ec58ad237800ba14d20f8d045ef58cf3294e4ae5 (patch) | |
tree | 9ea7c6e4cbc2c5b24269df819eac9d33779d87c7 /letsencrypt-auto | |
parent | d27dd3cf4bb807c27ef86dcbfbb9f8522bdf3f67 (diff) |
Fix Amazon Linux bootstrapping error.amazonlinux
Diffstat (limited to 'letsencrypt-auto')
-rwxr-xr-x | letsencrypt-auto | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/letsencrypt-auto b/letsencrypt-auto index b3e380f9d..a3009fe52 100755 --- a/letsencrypt-auto +++ b/letsencrypt-auto @@ -85,6 +85,8 @@ ExperimentalBootstrap() { DeterminePythonVersion() { if command -v python2.7 > /dev/null ; then 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 export LE_PYTHON=${LE_PYTHON:-python2} elif command -v python > /dev/null ; then @@ -135,7 +137,7 @@ then elif uname | grep -iq Darwin ; then ExperimentalBootstrap "Mac OS X" mac.sh elif grep -iq "Amazon Linux" /etc/issue ; then - ExperimentalBootstrap "Amazon Linux" amazon_linux.sh + ExperimentalBootstrap "Amazon Linux" _rpm_common.sh else echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!" echo |