diff options
| author | Valerii Hiora | 2013-05-30 11:57:57 +0300 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-30 09:42:22 -0700 |
| commit | d99109d87d5330ce4c2ed26c19007ce2e05fc2d5 (patch) | |
| tree | 6403efcf4a2d6b361fd876842709e6545ef5177d /Library | |
| parent | 308a5cadef643d01a44f929e12045833b7041d54 (diff) | |
| download | homebrew-d99109d87d5330ce4c2ed26c19007ce2e05fc2d5.tar.bz2 | |
mplayershell: fix requirement logic
Closes #20153.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mplayershell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mplayershell.rb b/Library/Formula/mplayershell.rb index 08fa56fd2..95b805262 100644 --- a/Library/Formula/mplayershell.rb +++ b/Library/Formula/mplayershell.rb @@ -15,7 +15,7 @@ class MplayerPresented < Requirement fatal true default_formula 'mplayer' - satisfy { which 'mplayer2' unless which 'mplayer'} + satisfy { which('mplayer') || which('mplayer2') } def message; <<-EOS.undent MPlayerShell requires mplayer or mplayer2 to be installed. |
