diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-08 12:06:36 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-08 12:06:36 +0600 |
commit | b0b1cdb309e2dbbbadafee4b057534faa78fc625 (patch) | |
tree | caa24fd529a922902b01263baaa88bc34189fd73 | |
parent | b747b7d6c7990f2ffcc7535d6eb9447912a8f1e0 (diff) | |
download | chef-b0b1cdb309e2dbbbadafee4b057534faa78fc625.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 | 10 |
1 files changed, 10 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 4c5ffd8581..840b0567d0 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -107,6 +107,16 @@ execute "changing ownership of the git cask" do live_stream true end +execute "show the list of offending folders" do + command "ls -al /usr/local/Cellar/git@2.35.1/2.35.1/etc/bash_completion.d" + live_stream true +end + +execute "show the list of offending folders" do + command "rm -rf /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 |