From 98a935d95bb48f2ea19c8776de31c66ac503da24 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Thu, 5 May 2022 11:53:54 +0600 Subject: Updated the recipe to remove Git completely before updating it. Signed-off-by: John McCrae --- kitchen-tests/cookbooks/end_to_end/recipes/macos.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index 368bc9b943..1a7f77e662 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -77,7 +77,8 @@ end bash "remove git" do code <<~EOH sudo chown -R $(whoami) $(brew --prefix)/* - brew uninstall git@2.35.1 + brew unlink git@2.35.1 --force + brew uninstall git@2.35.1 --force EOH user "tempadmin" end -- cgit v1.2.1