fix: unattended first install on mac

This commit is contained in:
2024-03-07 20:30:31 +00:00
parent e6a7bec30d
commit 7d6d8ae90a
3 changed files with 12 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
export NONINTERACTIVE=1
if ! command -v brew &> /dev/null; then
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
brew update