Skip to content

Commit c48d200

Browse files
committed
macos13: don’t install Homebrew if already installed (#3)
1 parent 68a98f4 commit c48d200

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

macos13/init.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ sudo -i touch /var/root/utils/utils.sh
88
sudo -i /Volumes/a/init/install-xcode-clt.sh
99

1010
# Install Homebrew
11-
NONINTERACTIVE=1 /Volumes/a/init/install-homebrew.sh
11+
if ! [ -e /usr/local/bin/brew ]; then
12+
NONINTERACTIVE=1 /Volumes/a/init/install-homebrew.sh
13+
fi
1214

1315
# Install rustup and the latest Rust
1416
if ! [ -e /Users/servo/.rustup ]; then

0 commit comments

Comments
 (0)