osx/custompkg/root/etc/skel/Library/user-setup/000.install-homebrew.sh

9 lines
296 B
Bash
Raw Permalink Normal View History

2016-10-08 00:37:22 +00:00
#!/bin/bash
############################################# install homebrew under homedir
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