diff options
| -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. |
