Latest
This commit is contained in:
parent
1839e42af7
commit
1bbc6e476a
1 changed files with 2 additions and 2 deletions
|
@ -120,9 +120,9 @@ loadHomebrew() {
|
||||||
if ! command -v brew > /dev/null; then
|
if ! command -v brew > /dev/null; then
|
||||||
if [ -f /usr/local/bin/brew ]; then
|
if [ -f /usr/local/bin/brew ]; then
|
||||||
eval "$(/usr/local/bin/brew shellenv)"
|
eval "$(/usr/local/bin/brew shellenv)"
|
||||||
if [ -f "${HOMEBREW_PREFIX:-/opt/homebrew}/bin/brew" ]; then
|
elif [ -f "${HOMEBREW_PREFIX:-/opt/homebrew}/bin/brew" ]; then
|
||||||
eval "$("${HOMEBREW_PREFIX:-/opt/homebrew}/bin/brew" shellenv)"
|
eval "$("${HOMEBREW_PREFIX:-/opt/homebrew}/bin/brew" shellenv)"
|
||||||
if [ -d "$HOME/.linuxbrew" ]; then
|
elif [ -d "$HOME/.linuxbrew" ]; then
|
||||||
eval "$("$HOME/.linuxbrew/bin/brew" shellenv)"
|
eval "$("$HOME/.linuxbrew/bin/brew" shellenv)"
|
||||||
elif [ -d "/home/linuxbrew/.linuxbrew" ]; then
|
elif [ -d "/home/linuxbrew/.linuxbrew" ]; then
|
||||||
eval "(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
eval "(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
|
Loading…
Reference in a new issue