From 244fe0967a0546380a07fbf66d411867c0012bbe Mon Sep 17 00:00:00 2001 From: neo Date: Sat, 22 Jul 2023 17:33:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E6=B7=BB=E5=8A=A0=E5=AE=89=E8=A3=85=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 70 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 55 insertions(+), 15 deletions(-) diff --git a/install.sh b/install.sh index 74a05e9..4271859 100755 --- a/install.sh +++ b/install.sh @@ -900,28 +900,28 @@ EOABORT )" fi -USABLE_GIT="$(command -v git)" -if [[ -z "${USABLE_GIT}" ]] +USABLE_GIT=/usr/bin/git +if [[ -n "${HOMEBREW_ON_LINUX-}" ]] then - abort "$( - cat </dev/null || return @@ -1194,3 +1232,5 @@ cat <