We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7667298 commit 7c49afaCopy full SHA for 7c49afa
Tools/setup/macos.sh
@@ -18,8 +18,11 @@ do
18
fi
19
done
20
21
-# install Homebrew
22
-/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
+if ! command -v brew &> /dev/null
+then
23
+ # install Homebrew if not installed yet
24
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
25
+fi
26
27
# Install px4-dev formula
28
if [[ $REINSTALL_FORMULAS == "--reinstall" ]]; then
0 commit comments