Do not re-install brew

This commit is contained in:
Anton Volnuhin 2023-05-30 09:53:38 +03:00
parent 3bbe7ad5c0
commit 9b59c5b57b

View File

@ -15,7 +15,9 @@ $Green##########################################################################
###############################################################################$NC"
{{ if eq .chezmoi.os "darwin" -}}
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
if ! type brew; then
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew update
brew upgrade -y