Skip to content

Instantly share code, notes, and snippets.

What would you like to do?


Error: Cask 'eclipse-jee' definition is invalid: invalid 'depends_on macos' value: ":leopard"


/usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/sed -i '' '/depends_on macos:/d'
Copy link

kokwai commented Jun 10, 2019

it works, thanks!

Copy link

tandriamil commented Aug 12, 2019

Same for me, it worked great, thank you !

Copy link

luisgerhorst commented Oct 11, 2019

I also had the problem hinted on in the first line (I don't understand the description) and the second line solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment