diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-08 10:36:36 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-08 10:36:36 +0600 |
commit | a4a12211777bfedd2fc7247b66cb43ad7932fca0 (patch) | |
tree | 61eb887ee21807fabd34cce976244a4cc9f11f83 | |
parent | bfe3132f7b1ba82d67db6855babe531096047d44 (diff) | |
download | chef-a4a12211777bfedd2fc7247b66cb43ad7932fca0.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 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index 11c63eaba2..c31ebc88a3 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -95,16 +95,16 @@ end # /usr/local/Cellar/git@2.35.1/2.35.1/etc/bash_completion.d/git-completion.bash -# execute "changing ownership of the git cask" do -# command "chmod -R 777 /usr/local/Cellar/git" -# live_stream true -# end - -execute "where or where is the git cask" do - command "ls -al /usr/local/Cellar" +execute "changing ownership of the git cask" do + command "chmod -R 777 /usr/local/Cellar/git@2.35.1" live_stream true end +# execute "where or where is the git cask" do +# command "ls -al /usr/local/Cellar" +# live_stream true +# end + # We're overcoming a problem where Homebrew updating Git on MacOS throws a symlink error # We remove git completely to allow homebrew to update it. bash "remove git" do |