fix(mac): Missing homebrew prefix in install mac

This commit is contained in:
Saibotk 2023-11-03 10:09:45 +01:00
parent feecb0bb0b
commit 956c7c933d
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -9,8 +9,8 @@ echo "Setting up your Mac..."
if test ! $(which brew); then if test ! $(which brew); then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(${HOMEBREW_PREFIX}/bin/brew shellenv)"' >> $HOME/.zprofile echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $HOME/.zprofile
eval "$(${HOMEBREW_PREFIX}/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
fi fi
# Update Homebrew recipes # Update Homebrew recipes