Revert "Add patch to update brew core repo"

This reverts commit dab978c436.
This commit is contained in:
Shivam Mathur 2021-10-14 20:59:16 +05:30
parent a357b6a054
commit 9b92c9db92
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -140,13 +140,6 @@ update_dependencies_helper() {
update_dependencies() { update_dependencies() {
if ! [ -e /tmp/update_dependencies ] && [ "${runner:?}" != "self-hosted" ] && [ "${ImageOS:-}" != "" ] && [ "${ImageVersion:-}" != "" ]; then if ! [ -e /tmp/update_dependencies ] && [ "${runner:?}" != "self-hosted" ] && [ "${ImageOS:-}" != "" ] && [ "${ImageVersion:-}" != "" ]; then
patch_brew patch_brew
# Remove this patch when brew is updated on the images.
(
cd "$tap_dir/homebrew/homebrew-core" || true
git add . && git stash && git pull origin master
) >/dev/null 2>&1 && return
while read -r dependency; do while read -r dependency; do
update_dependencies_helper "$dependency" & update_dependencies_helper "$dependency" &
to_wait+=($!) to_wait+=($!)