Adds brew to PATH and adds is_online function
This commit is contained in:
parent
792c690e0d
commit
3306754932
6 changed files with 57 additions and 35 deletions
21
install_brew.sh
Executable file
21
install_brew.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Installing Homebrew..."
|
||||
$(which ruby) -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
|
||||
$(which ruby) -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
echo "Homebrew installed."
|
||||
echo ""
|
||||
|
||||
pushd "$HOME/pc_settings"
|
||||
|
||||
# install brew dependencies
|
||||
echo "Installing Homebrew packages..."
|
||||
cat ./brew_packages.txt | xargs brew install
|
||||
echo "Homebrew packages installed."
|
||||
echo ""
|
||||
|
||||
echo "Homebrew installed complete!"
|
||||
echo ""
|
||||
|
||||
popd
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue