From 51e7ed551f07eb806cfdbf1970fb47acdb6c7d73 Mon Sep 17 00:00:00 2001 From: Jamie Snape Date: Wed, 16 Jun 2021 10:31:20 -0400 Subject: [PATCH] Allow robotlocomotion/director to change default branch name to main --- setup/mac/binary_distribution/install_prereqs.sh | 4 ++++ setup/mac/source_distribution/install_prereqs.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/setup/mac/binary_distribution/install_prereqs.sh b/setup/mac/binary_distribution/install_prereqs.sh index 01b4d0fca27f..b31d32934573 100755 --- a/setup/mac/binary_distribution/install_prereqs.sh +++ b/setup/mac/binary_distribution/install_prereqs.sh @@ -51,6 +51,10 @@ export HOMEBREW_NO_INSTALL_CLEANUP=1 binary_distribution_called_update=0 if [[ "${with_update}" -eq 1 ]]; then + # TODO(jamiesnape): Remove the below brew tap commands on or after 2021-09-01. + brew tap robotlocomotion/director + brew tap --repair robotlocomotion/director + # Note that brew update uses git, so HOMEBREW_CURL_RETRIES does not take # effect. brew update || (sleep 30; brew update) diff --git a/setup/mac/source_distribution/install_prereqs.sh b/setup/mac/source_distribution/install_prereqs.sh index 11cd944efa74..35ef893de4a6 100755 --- a/setup/mac/source_distribution/install_prereqs.sh +++ b/setup/mac/source_distribution/install_prereqs.sh @@ -46,6 +46,10 @@ if ! command -v brew &>/dev/null; then fi if [[ "${with_update}" -eq 1 && "${binary_distribution_called_update:-0}" -ne 1 ]]; then + # TODO(jamiesnape): Remove the below brew tap commands on or after 2021-09-01. + brew tap robotlocomotion/director + brew tap --repair robotlocomotion/director + brew update || (sleep 30; brew update) fi