Skip to content

Commit

Permalink
Hotfix: update brew along with core tap
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Mar 30, 2024
1 parent 116fe4d commit b203b24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scripts/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ patch_brew() {
update_dependencies() {
patch_brew
if ! [ -e /tmp/update_dependencies ]; then
git_retry -C "$core_repo" fetch origin master && git -C "$core_repo" reset --hard origin/master
for repo in "$brew_repo" "$core_repo"; do
git_retry -C "$repo" fetch origin master && git -C "$repo" reset --hard origin/master
done
echo '' | sudo tee /tmp/update_dependencies >/dev/null 2>&1
fi
}
Expand Down

0 comments on commit b203b24

Please sign in to comment.