Update homebrew
This commit is contained in:
parent
c67bd24765
commit
58a98605cf
1 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,8 @@ if ! command -v brew > /dev/null; then
|
||||||
# so nothing needs to be done for macOS.
|
# so nothing needs to be done for macOS.
|
||||||
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
|
elif [ -f /opt/homebrew/bin/brew ]; then
|
||||||
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue