diff --git a/install.sh b/install.sh index ba4be93..2c87110 100755 --- a/install.sh +++ b/install.sh @@ -1127,16 +1127,18 @@ EOS " fi -if [[ ":${PATH}:" != *":${HOMEBREW_PREFIX}/bin:"* ]] +if [[ "$(which brew)" != "${HOMEBREW_PREFIX}/bin/brew" ]] then - eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)" - echo "" - warn "!!!!!!!!!!! 重要 !!!!!!!!!!!!!!!" - cat <