mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
/etc/issue does not exist on all systems
Signed-off-by: Gregory L. Dietsche <Gregory.Dietsche@cuw.edu>
This commit is contained in:
parent
a6d5b525b2
commit
62cf9c93a8
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ Bootstrap() {
|
|||
ExperimentalBootstrap "FreeBSD" BootstrapFreeBsd
|
||||
elif uname | grep -iq Darwin ; then
|
||||
ExperimentalBootstrap "Mac OS X" BootstrapMac
|
||||
elif grep -iq "Amazon Linux" /etc/issue ; then
|
||||
elif [ -f /etc/issue ] && grep -iq "Amazon Linux" /etc/issue ; then
|
||||
ExperimentalBootstrap "Amazon Linux" BootstrapRpmCommon
|
||||
else
|
||||
echo "Sorry, I don't know how to bootstrap Certbot on your operating system!"
|
||||
|
|
|
|||
Loading…
Reference in a new issue