diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-05 11:41:14 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-05 11:41:14 +0600 |
commit | 759730e23a5454536bfde668188af77ba26eb193 (patch) | |
tree | 139936e53c3b1d5b978ad6666aee101170192278 | |
parent | bc7a9f24b462b6f3973d0317191c9e92ea69229a (diff) | |
download | chef-759730e23a5454536bfde668188af77ba26eb193.tar.gz |
Updated the recipe to remove Git completely before updating it.
Signed-off-by: John McCrae <jmccrae@chf.io>
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/macos.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index 1237950353..368bc9b943 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -76,6 +76,7 @@ end # We remove git completely to allow homebrew to update it. bash "remove git" do code <<~EOH + sudo chown -R $(whoami) $(brew --prefix)/* brew uninstall git@2.35.1 EOH user "tempadmin" |