fix: brew install logs

This commit is contained in:
2024-06-08 15:12:07 +01:00
parent bd04736442
commit e2555d931c

View File

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