fix sudo issue on amazon linux instance with letsencrypt-auto

the letsencrypt-auto script was missing the sudo parameter on call to ExperimentalBootstrap for amazon linux. 
also added comment to mac entry to clarify why it lacks the parameter
This commit is contained in:
Anselm Levskaya
2015-12-02 23:06:11 -08:00
parent fe422cb87b
commit 54c74a6d2f
+2 -2
View File
@@ -147,9 +147,9 @@ then
elif uname | grep -iq FreeBSD ; then
ExperimentalBootstrap "FreeBSD" freebsd.sh "$SUDO"
elif uname | grep -iq Darwin ; then
ExperimentalBootstrap "Mac OS X" mac.sh
ExperimentalBootstrap "Mac OS X" mac.sh # homebrew doesn't normally run as root
elif grep -iq "Amazon Linux" /etc/issue ; then
ExperimentalBootstrap "Amazon Linux" _rpm_common.sh
ExperimentalBootstrap "Amazon Linux" _rpm_common.sh "$SUDO"
else
echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!"
echo