"Mac OS X" -> "OS X" in copy

This commit is contained in:
Jack Nagel 2015-06-16 20:02:10 -04:00
parent f1fd1d3d79
commit f4027cc9ac
3 changed files with 5 additions and 5 deletions

View File

@ -25,19 +25,19 @@ class KegOnlyReason
def to_s
case @reason
when :provided_by_osx then <<-EOS
Mac OS X already provides this software and installing another version in
OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
#{@explanation}
EOS
when :shadowed_by_osx then <<-EOS
Mac OS X provides similar software, and installing this software in
OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.
#{@explanation}
EOS
when :provided_pre_mountain_lion then <<-EOS
Mac OS X already provides this software in versions before Mountain Lion.
OS X already provides this software in versions before Mountain Lion.
#{@explanation}
EOS

View File

@ -30,7 +30,7 @@ RUBY_BIN = RUBY_PATH.dirname
if RUBY_PLATFORM =~ /darwin/
MACOS_FULL_VERSION = `/usr/bin/sw_vers -productVersion`.chomp
MACOS_VERSION = MACOS_FULL_VERSION[/10\.\d+/]
OS_VERSION = "Mac OS X #{MACOS_FULL_VERSION}"
OS_VERSION = "OS X #{MACOS_FULL_VERSION}"
else
MACOS_FULL_VERSION = MACOS_VERSION = "0"
OS_VERSION = RUBY_PLATFORM

View File

@ -20,7 +20,7 @@ module OS
if MacOS.version > "10.10"
"7.0"
else
raise "Mac OS X '#{MacOS.version}' is invalid"
raise "OS X '#{MacOS.version}' is invalid"
end
end
end