aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-14 14:47:16 -0700
committerAdam Vandenberg2013-06-14 14:47:16 -0700
commitca10e5005abcf36fba5760b60c0aeeefa5ca6505 (patch)
treecad14501aef4990fafe79162c5fae944f0ee4615 /Library/Homebrew/os/mac
parent8739eeab7d953e89a8c3e1fde16bd0b13563b01d (diff)
downloadbrew-ca10e5005abcf36fba5760b60c0aeeefa5ca6505.tar.bz2
Fix pretty names
Diffstat (limited to 'Library/Homebrew/os/mac')
-rw-r--r--Library/Homebrew/os/mac/version.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/version.rb b/Library/Homebrew/os/mac/version.rb
index c48b07eb6..90f0e97f7 100644
--- a/Library/Homebrew/os/mac/version.rb
+++ b/Library/Homebrew/os/mac/version.rb
@@ -15,7 +15,15 @@ module MacOS
end
def pretty_name
- @version.split('_').map(&:capitalize).join(' ')
+ case @version
+ when "10.9" then "Mavericks"
+ when "10.8" then "Mountain Lion"
+ when "10.7" then "Lion"
+ when "10.6" then "Snow Leopard"
+ when "10.5" then "Leopard"
+ when "10.4" then "Tiger"
+ else @version
+ end
end
end
end