mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
Only install Homebrew if it's not already installed
This commit is contained in:
parent
532a08598d
commit
25447c2c60
@ -1,3 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
if ! type brew > /dev/null; then
|
||||||
|
/usr/bin/ruby -e \
|
||||||
|
"$(curl \
|
||||||
|
-fsSL \
|
||||||
|
https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user