update homebrew install
This commit is contained in:
@@ -12,7 +12,7 @@ function shownetinfo() {
|
||||
IP=$(ifconfig | grep -v "127.0.0.1" | grep "inet " | head -1 | cut -d " " -f2)
|
||||
fi
|
||||
if [ "$NET" != "" ]; then
|
||||
GW=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
||||
GW=$(curl -s icanhazip.com)
|
||||
fi
|
||||
tput setaf 7; tput bold; echo -en "Net: "
|
||||
tput sgr0
|
||||
|
||||
2
setup.sh
2
setup.sh
@@ -11,7 +11,7 @@ elif [ "$OSTYPE" = "Darwin" ]; then
|
||||
echo "Install Homebrew? [y/n]"
|
||||
read homebrew
|
||||
if [ "$homebrew" = "y" ]; then
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
brew bundle install --file=Brewfile
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user