sous-chefs / homebrew

Development repository for the homebrew cookbook
https://supermarket.chef.io/cookbooks/homebrew
Apache License 2.0
152 stars 136 forks source link

homebrew_cask's `load_current_resource` `casked` check has false positives #43

Closed jtimberman closed 10 years ago

jtimberman commented 10 years ago

The check for the existing cask using /opt/homebrew-cask/Caskroom/thing has a false positive if thing is removed with brew cask uninstall thing.

We should query the system using brew cask info thing, instead. I'm working on a PR for this.

jtimberman commented 10 years ago

Fixed: https://github.com/opscode-cookbooks/homebrew/pull/46