diff options
| author | Adam Vandenberg | 2011-09-26 10:20:19 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-09-26 10:46:50 -0700 |
| commit | 7b5248306a1ce29a270d73e42bdb892e7c86f050 (patch) | |
| tree | d203fab4ee6e68d6f38dec5ead2b52efa5f75075 /Library | |
| parent | 2d62fedb17125c6fa3d66889be4f8e8251e362d5 (diff) | |
| download | homebrew-7b5248306a1ce29a270d73e42bdb892e7c86f050.tar.bz2 | |
missing should not error if Cellar does not exist
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-missing.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Contributions/examples/brew-missing.rb b/Library/Contributions/examples/brew-missing.rb index 2fac4186d..21a0c071e 100755 --- a/Library/Contributions/examples/brew-missing.rb +++ b/Library/Contributions/examples/brew-missing.rb @@ -11,6 +11,8 @@ def installed_brews end def main + return unless HOMEBREW_CELLAR.exist? + # Names of outdated brews; they count as installed. outdated = Homebrew.outdated_brews.collect{ |b| b.name } |
