From cb59ddbce3d41378d43c8783f2d7f3daebfe4f24 Mon Sep 17 00:00:00 2001 From: Farhang <46557204+farhangnaderi@users.noreply.github.com> Date: Wed, 19 Nov 2025 12:39:36 -0500 Subject: [PATCH] Change conditional check for px4-sim installation --- Tools/setup/macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/setup/macos.sh b/Tools/setup/macos.sh index 8218b4e9ab..a3457129ee 100755 --- a/Tools/setup/macos.sh +++ b/Tools/setup/macos.sh @@ -74,7 +74,7 @@ python3 -m pip install --user -r ${DIR}/requirements.txt # Optional, but recommended additional simulation tools: if [[ $INSTALL_SIM == "--sim-tools" ]]; then - if ! brew ls --versions px4-sim > /dev/null; then + if brew ls --versions px4-sim > /dev/null; then brew install px4-sim elif [[ $REINSTALL_FORMULAS == "--reinstall" ]]; then brew reinstall px4-sim