From d98ff95b3e1bce206c1aef032c396ac0cb714da7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 15 Jun 2013 19:51:35 -0500 Subject: These also get coerced to strings --- Library/Homebrew/os/mac/xquartz.rb | 8 ++++---- 1 file 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 -- cgit v1.2.3