diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-05 11:53:54 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-05 11:53:54 +0600 |
commit | 98a935d95bb48f2ea19c8776de31c66ac503da24 (patch) | |
tree | 0e8eb4f97d8937f166fa6c9e00f50a87395c7577 /kitchen-tests | |
parent | 759730e23a5454536bfde668188af77ba26eb193 (diff) | |
download | chef-98a935d95bb48f2ea19c8776de31c66ac503da24.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 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 |