From ae584074e47983ba14400cc9d481990be336bc67 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sun, 24 Jan 2016 12:42:52 +0000 Subject: [PATCH] Rename the software installation script. Add installation of 'brew' and other base packages. --- bin/{cask-install.sh => software-install.sh} | 11 +++++++++++ 1 file changed, 11 insertions(+) rename bin/{cask-install.sh => software-install.sh} (66%) diff --git a/bin/cask-install.sh b/bin/software-install.sh similarity index 66% rename from bin/cask-install.sh rename to bin/software-install.sh index 63f4ad1..fbb4d01 100755 --- a/bin/cask-install.sh +++ b/bin/software-install.sh @@ -1,5 +1,16 @@ #!/bin/bash +if [ ! -x /usr/local/bin/brew ]; then + ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +fi + +xargs brew install <