mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 16:12:09 +02:00
OSX: check if augeas, dialog are already installed
This check avoids the following 2 noisy warnings:
Warning: augeas-1.4.0 already installed
Warning: dialog-1.2-20150528 already installed
This commit is contained in:
+9
-2
@@ -4,8 +4,15 @@ if ! hash brew 2>/dev/null; then
|
|||||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
brew install augeas
|
if [ -z "$(brew list --versions augeas)" ]; then
|
||||||
brew install dialog
|
echo "augeas Not Installed\nInstalling augeas from Homebrew..."
|
||||||
|
brew install augeas
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$(brew list --versions dialog)" ]; then
|
||||||
|
echo "dialog Not Installed\nInstalling dialog from Homebrew..."
|
||||||
|
brew install dialog
|
||||||
|
fi
|
||||||
|
|
||||||
if ! hash pip 2>/dev/null; then
|
if ! hash pip 2>/dev/null; then
|
||||||
echo "pip Not Installed\nInstalling python from Homebrew..."
|
echo "pip Not Installed\nInstalling python from Homebrew..."
|
||||||
|
|||||||
Reference in New Issue
Block a user