From 4b96daff0542040fc944e687f9221b5192bf1f00 Mon Sep 17 00:00:00 2001 From: micziz <99438936+micziz@users.noreply.github.com> Date: Wed, 15 Jun 2022 15:41:03 +0200 Subject: [PATCH] Update install.sh Co-authored-by: drugsosos <44712637+Drugsosos@users.noreply.github.com> --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5cb1c1b..d392ce1 100644 --- a/install.sh +++ b/install.sh @@ -41,7 +41,7 @@ done function install_macos(){ - if [ ! command -v brew &> /dev/null ]; then + if [ -z "$(command -v brew)" ]; then NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" if [[ uname -m == "x86_64" ]]; then echo "export PATH=/usr/local/bin:$PATH" >> ~/.bash_profile && source ~/.bash_profile