From e040d35f2e86d779f6c7df018844c83276ebab8c Mon Sep 17 00:00:00 2001 From: Nahuel Barrios Date: Sun, 27 Feb 2022 15:57:18 -0300 Subject: [PATCH] Fix Homebrew setup script & exported env vars --- CHANGELOG.md | 4 ++++ modules/homebrew.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c11e10..1be3a80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v2.7.2 +## Fixed +- Homebrew installation script & env vars. + # v2.7.1 ## Changed - Homebrew installation script upgraded to bash version. diff --git a/modules/homebrew.sh b/modules/homebrew.sh index ad3ab34..4e17477 100644 --- a/modules/homebrew.sh +++ b/modules/homebrew.sh @@ -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