mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
setup: only install homebrew if not already there
This commit is contained in:
parent
7667298c86
commit
7c49afa716
@ -18,8 +18,11 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
# install Homebrew
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
||||
if ! command -v brew &> /dev/null
|
||||
then
|
||||
# install Homebrew if not installed yet
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
||||
fi
|
||||
|
||||
# Install px4-dev formula
|
||||
if [[ $REINSTALL_FORMULAS == "--reinstall" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user