Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Chen <yongwei.chen@gmail.com>2015-11-16 11:24:31 +0300
committerHenry Chen <yongwei.chen@gmail.com>2015-11-16 11:24:31 +0300
commitec58ad237800ba14d20f8d045ef58cf3294e4ae5 (patch)
tree9ea7c6e4cbc2c5b24269df819eac9d33779d87c7
parentd27dd3cf4bb807c27ef86dcbfbb9f8522bdf3f67 (diff)
Fix Amazon Linux bootstrapping error.amazonlinux
-rwxr-xr-xletsencrypt-auto4
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