More portability

This commit is contained in:
Peter Eckersley 2015-10-14 16:25:53 -07:00
parent b85e13de3f
commit 99793c54d6
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh -e
if ! hash brew 2>/dev/null; then
echo "Homebrew Not Installed\nDownloading..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

View file

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/bin/sh -e
#
# Installs and updates the letencrypt virtualenv, and runs letsencrypt
# using that virtual environment. This allows the client to function decently
@ -39,7 +39,8 @@ then
sudo $BOOTSTRAP/freebsd.sh
elif uname | grep -iq Darwin ; then
echo "Bootstrapping dependencies for Mac OS X..."
sudo $BOOTSTRAP/mac.sh
echo "WARNING: Mac support is very experimental at present..."
$BOOTSTRAP/mac.sh
else
echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!"
echo