mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
19 lines
486 B
Bash
Executable File
19 lines
486 B
Bash
Executable File
#!/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)"
|
|
fi
|
|
|
|
brew install augeas
|
|
brew install dialog
|
|
|
|
if ! hash pip 2>/dev/null; then
|
|
echo "pip Not Installed\nInstalling python from Homebrew..."
|
|
brew install python
|
|
fi
|
|
|
|
if ! hash virtualenv 2>/dev/null; then
|
|
echo "virtualenv Not Installed\nInstalling with pip"
|
|
pip install virtualenv
|
|
fi
|