diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-05 10:12:47 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-05 10:12:47 +0600 |
commit | 18983378eca98b97d05fa3d7ba00377f60e41601 (patch) | |
tree | 611469fc0062a14057402b408c99f4420b069289 /kitchen-tests | |
parent | 7530965eb248e50c45e41e7a054a8f6c6c54a18f (diff) | |
download | chef-18983378eca98b97d05fa3d7ba00377f60e41601.tar.gz |
Updated the recipe to remove Git completely before updating it.
Signed-off-by: John McCrae <jmccrae@chf.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/macos.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index 923a8448d0..37fe95b463 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -69,7 +69,8 @@ end # We're overcoming a problem where Homebrew updating Git on MacOS throws a symlink error # We remove git completely to allow homebrew to update it. execute "remove git" do - command "brew list --full-name | grep '^git@' | xargs -r brew uninstall --ignore-dependencies" + # command "brew list --full-name | grep '^git@' | xargs -r brew uninstall --ignore-dependencies" + command "brew uninstall git@2.35.1 --ignore-dependencies" end include_recipe "git" |