Skip to content

Commit

Permalink
Fix Homebrew setup script & exported env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
barriosnahuel committed Feb 27, 2022
1 parent e9885ef commit e040d35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v2.7.2
## Fixed
- Homebrew installation script & env vars.

# v2.7.1
## Changed
- Homebrew installation script upgraded to bash version.
Expand Down
4 changes: 2 additions & 2 deletions modules/homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ enterDirOrExit "${CURRENT_DIR}"

preInstallationLog "Homebrew"
if ! command -v brew >/dev/null; then
/bin/bash -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

addToShell "export PATH=/usr/local/bin:\$PATH"
addToShell "export PATH=/opt/homebrew/bin:\$PATH"
else
logAlreadyInstalled "Homebrew"
fi
Expand Down

0 comments on commit e040d35

Please sign in to comment.