File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,8 @@ install-packages: install-brew
1515 eval " $$ ($( brew) shellenv)" && $(brew ) bundle --file home/.Brewfile --force --no-lock
1616
1717.PHONY : install-brew
18- install-brew : $(brew )
19- $(brew ) :
20- @echo " Installing Homebrew"
21- curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
18+ install-brew :
19+ scripts/install-brew.sh
2220
2321.PHONY : link
2422link :
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ arch=$( uname -m)
6+ brew=/opt/homebrew/bin/brew
7+ test " x86_64" == $arch && brew=/usr/local/bin/brew
8+
9+ if test -e $brew ; then
10+ echo " Homebrew already installed"
11+ exit 0
12+ fi
13+
14+ echo " Installing Homebrew"
15+ curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
You can’t perform that action at this time.
0 commit comments