diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-05 15:48:26 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-05 15:48:26 +0600 |
commit | 833c28f36ce84f7d476b198ae4828ed22f73dc58 (patch) | |
tree | 29282fd29cacae4a4b2161c16eb344f247a0335b | |
parent | 6a1d5545416e5e29a18ad5aab94f77762d82ad13 (diff) | |
download | chef-833c28f36ce84f7d476b198ae4828ed22f73dc58.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 | 2 |
1 files changed, 1 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 0bfc9d6b2d..dd41c2c7fe 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -76,7 +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)/* + chown -R $(whoami) $(brew --prefix)/* brew unlink git@2.35.1 --force EOH user "tempadmin" |