79814228

Date: 2025-11-08 14:22:55
Score: 0.5
Natty:
Report link

I tried @Pau's workaround, and it didn't work as the files now seem to be JSON. I had to do the following to get this working with a more recent version of Homebrew:

find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.json' -exec jq 'del(.depends_on)' {} \; -exec sh -c 'jq "del(.depends_on)" "$1" > "$1.tmp" && mv "$1.tmp" "$1"' _ {} \;
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Pau's
Posted by: gawbul