These also get coerced to strings

This commit is contained in:
Jack Nagel 2013-06-15 19:51:35 -05:00
parent 49c9097b07
commit d98ff95b3e

View File

@ -16,10 +16,10 @@ module MacOS::XQuartz extend self
# system X11 distribution, we can't get the version from pkgutil, so # system X11 distribution, we can't get the version from pkgutil, so
# just use the expected version. # just use the expected version.
case MacOS.version case MacOS.version
when 10.5 then "2.1.6" when '10.5' then '2.1.6'
when 10.6 then "2.3.6" when '10.6' then '2.3.6'
when 10.7 then "2.6.3" when '10.7' then '2.6.3'
else "dunno" else 'dunno'
end end
else else
# Finally, try to find it via pkgutil. This is slow, and only works # Finally, try to find it via pkgutil. This is slow, and only works