1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-27 19:42:53 +03:00

Merge pull request #2465 from erikrose/mac-always-brew-python

Always install the homebrew version of Python. Fix #1437.
This commit is contained in:
Peter Eckersley
2016-02-25 15:07:46 -08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -363,8 +363,8 @@ BootstrapMac() {
brew install dialog
fi
if ! hash pip 2>/dev/null; then
echo "pip not installed.\nInstalling python from Homebrew..."
if [ -z "$(brew list --versions python)" ]; then
echo "python not installed.\nInstalling python from Homebrew..."
brew install python
fi

View File

@@ -14,8 +14,8 @@ BootstrapMac() {
brew install dialog
fi
if ! hash pip 2>/dev/null; then
echo "pip not installed.\nInstalling python from Homebrew..."
if [ -z "$(brew list --versions python)" ]; then
echo "python not installed.\nInstalling python from Homebrew..."
brew install python
fi