summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <jmccrae@chf.io>2022-05-05 19:08:30 +0600
committerJohn McCrae <jmccrae@chf.io>2022-05-05 19:08:30 +0600
commitbd99fcf6bf420afce128db54d37e8b4ec5a38798 (patch)
treef0346d1bb69d209a311d62ddea51f1abc7322978
parent0f204914b221cf26cd504758c9291825970cf054 (diff)
downloadchef-bd99fcf6bf420afce128db54d37e8b4ec5a38798.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.rb2
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 c1d715549a..d22d8c230c 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -83,7 +83,7 @@ end
bash "remove git" do
code <<~EOH
# echo "password" | sudo chown -R $(whoami) $(brew --prefix)/*
- brew unlink git@2.35.1
+ brew list --full-name | grep '^git@' | brew uninstall --ignore-dependencies
EOH
user "tempadmin"
end