From 4ffb74d7df3b612ad49625e8b65423afd2ed95c8 Mon Sep 17 00:00:00 2001 From: Brandon Kreisel Date: Sun, 20 Sep 2015 19:07:55 -0400 Subject: [PATCH 1/3] Add dialog dependency and homebrew installation --- bootstrap/mac.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap/mac.sh b/bootstrap/mac.sh index a48afe11e..47450cd9e 100755 --- a/bootstrap/mac.sh +++ b/bootstrap/mac.sh @@ -1,2 +1,10 @@ #!/bin/sh +if hash brew 2>/dev/null; then + echo "Homebrew Installed" +else + echo "Homebrew Not Installed\nDownloading..." + ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +fi + brew install augeas +brew install dialog From 7f42beda95c189ffaf457bbba0d3585f27b25a6b Mon Sep 17 00:00:00 2001 From: Brandon Kreisel Date: Sun, 20 Sep 2015 19:07:55 -0400 Subject: [PATCH 2/3] Add homebrew and add dialog dependency per #413 --- bootstrap/mac.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap/mac.sh b/bootstrap/mac.sh index a48afe11e..47450cd9e 100755 --- a/bootstrap/mac.sh +++ b/bootstrap/mac.sh @@ -1,2 +1,10 @@ #!/bin/sh +if hash brew 2>/dev/null; then + echo "Homebrew Installed" +else + echo "Homebrew Not Installed\nDownloading..." + ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +fi + brew install augeas +brew install dialog From fd53b09ab53073361d1287671243d0cae4315020 Mon Sep 17 00:00:00 2001 From: Brandon Kreisel Date: Mon, 21 Sep 2015 06:58:35 -0400 Subject: [PATCH 3/3] Remove homebrew existing message --- bootstrap/mac.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bootstrap/mac.sh b/bootstrap/mac.sh index 47450cd9e..6779188a7 100755 --- a/bootstrap/mac.sh +++ b/bootstrap/mac.sh @@ -1,7 +1,5 @@ #!/bin/sh -if hash brew 2>/dev/null; then - echo "Homebrew Installed" -else +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