From 3a766fef0c37e7c726224f1feb4c87c3dadbfa71 Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 9 Mar 2023 17:00:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96mx=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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 <