2016-10-08 00:37:22 +00:00
|
|
|
#!/bin/bash
|
|
|
|
############################################# install homebrew under homedir
|
2019-11-28 17:28:55 +00:00
|
|
|
|
|
|
|
# reminder: homebrew is *spyware*. using it in the default configuration is
|
|
|
|
# *unsafe*. other scripts elsewhere set HOMEBREW_NO_ANALYTICS to disable
|
|
|
|
# its spying; do not use this file in isolation.
|
|
|
|
|
2016-10-08 00:37:22 +00:00
|
|
|
if [[ ! -d ~/Library/Homebrew ]]; then
|
|
|
|
mkdir -p ~/Library/Homebrew
|
|
|
|
cd ~/Library/Homebrew
|
|
|
|
curl -fsSL https://github.com/Homebrew/brew/tarball/master | \
|
|
|
|
tar --strip-components 1 -xvf -
|
|
|
|
fi
|