Skip to content

Commit

Permalink
[macOS] Install packer using tap (#10696)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarathrajsrinivasan authored Sep 30, 2024
1 parent 01d5873 commit 740ab06
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion images/macos/scripts/build/install-common-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ for package in $common_packages; do
xcbeautify_path=$(download_with_retry "https://raw.githubusercontent.com/Homebrew/homebrew-core/d3653e83f9c029a3fddb828ac804b07ac32f7b3b/Formula/x/xcbeautify.rb")
brew install "$xcbeautify_path"
else
brew_smart_install "$package"
if [[ $package == "packer" ]]; then
# Packer has been deprecated in Homebrew. Use tap to install Packer.
brew install hashicorp/tap/packer
else
brew_smart_install "$package"
fi
fi
done

Expand Down

0 comments on commit 740ab06

Please sign in to comment.