diff options
| author | Jack Nagel | 2013-06-15 19:51:35 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-15 19:51:35 -0500 |
| commit | d98ff95b3e1bce206c1aef032c396ac0cb714da7 (patch) | |
| tree | 8ffccb72ec9f5d55eb222c4392ff79d6da0d8d6c | |
| parent | 49c9097b07c121d2d577f68e7148bc0dca10ea62 (diff) | |
| download | brew-d98ff95b3e1bce206c1aef032c396ac0cb714da7.tar.bz2 | |
These also get coerced to strings
| -rw-r--r-- | Library/Homebrew/os/mac/xquartz.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb index f5b85afd2..b7ecd856a 100644 --- a/Library/Homebrew/os/mac/xquartz.rb +++ b/Library/Homebrew/os/mac/xquartz.rb @@ -16,10 +16,10 @@ module MacOS::XQuartz extend self # system X11 distribution, we can't get the version from pkgutil, so # just use the expected version. case MacOS.version - when 10.5 then "2.1.6" - when 10.6 then "2.3.6" - when 10.7 then "2.6.3" - else "dunno" + when '10.5' then '2.1.6' + when '10.6' then '2.3.6' + when '10.7' then '2.6.3' + else 'dunno' end else # Finally, try to find it via pkgutil. This is slow, and only works |
