update homebrew install

This commit is contained in:
Stephen
2020-11-29 11:23:53 -08:00
parent 9c5c1c75b6
commit 29dd15d212
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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