From c48d200e4758af007ae3bf1cd9aa47df25a0bf97 Mon Sep 17 00:00:00 2001 From: Delan Azabani Date: Tue, 7 Jan 2025 13:51:44 +0800 Subject: [PATCH] =?UTF-8?q?macos13:=20don=E2=80=99t=20install=20Homebrew?= =?UTF-8?q?=20if=20already=20installed=20(#3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- macos13/init.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macos13/init.sh b/macos13/init.sh index 21ae36c..46f9370 100755 --- a/macos13/init.sh +++ b/macos13/init.sh @@ -8,7 +8,9 @@ sudo -i touch /var/root/utils/utils.sh sudo -i /Volumes/a/init/install-xcode-clt.sh # Install Homebrew -NONINTERACTIVE=1 /Volumes/a/init/install-homebrew.sh +if ! [ -e /usr/local/bin/brew ]; then + NONINTERACTIVE=1 /Volumes/a/init/install-homebrew.sh +fi # Install rustup and the latest Rust if ! [ -e /Users/servo/.rustup ]; then