Skip to content

Commit 081796b

Browse files
committed
feat(bootstrap): add skip install homebrew env
1 parent 7606cec commit 081796b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brew/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if test ! "$(uname)" = "Darwin"; then
4141
fi
4242

4343
info "Installing homebrew"
44-
if test ! $(which brew); then
44+
if test ! $(which brew) && [ "${SKIP_INSTALL_HOMEBRW:-false}" == "false" ]; then
4545
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
4646

4747
# 替换为国内源

0 commit comments

Comments
 (0)