fix: brew install logs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user