Update install-uvtools.sh

This commit is contained in:
Tiago Conceição
2022-10-19 05:49:36 +01:00
parent 8799fee1dc
commit 71d82cc8c4
+1 -2
View File
@@ -37,7 +37,7 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then
if [ -z "$(command -v brew)" ]; then
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
if [ -f "/opt/homebrew/bin/brew" ]; then
if [ -f "/opt/homebrew/bin/brew" -a -z "$(command -v brew)" ]; then
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> "$HOME/.zprofile"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> "$HOME/.zprofile"
eval "$(/opt/homebrew/bin/brew shellenv)"
@@ -143,4 +143,3 @@ else
fi
echo "UVtools will now run."