Skip to content

Commit a8d1b18

Browse files
committed
updated bootstrap.sh
1 parent e6ee82a commit a8d1b18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup/bootstrap.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ directory="pytools"
3131

3232
if [ "$(uname -s)" = Darwin ]; then
3333
echo "Bootstrapping Mac"
34-
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install | ruby
34+
if ! type brew >/dev/null 2>&1; then
35+
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install | ruby
36+
fi
3537
elif [ "$(uname -s)" = Linux ]; then
3638
echo "Bootstrapping Linux"
3739
if type apk >/dev/null 2>&1; then

0 commit comments

Comments
 (0)