aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-01-09 10:21:25 +0000
committerMike McQuaid2016-01-09 10:30:19 +0000
commit7076ed890a1eee10c94791e7557ab16769ab80ef (patch)
treebf276a2b94ceb30e6406669343b834a78274320a /Library
parent6826cd68da17560e8440b880c05741a5820358a6 (diff)
downloadbrew-7076ed890a1eee10c94791e7557ab16769ab80ef.tar.bz2
os/mac: add outdated_release? method.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb
index 72380372e..0af37578d 100644
--- a/Library/Homebrew/os/mac.rb
+++ b/Library/Homebrew/os/mac.rb
@@ -28,6 +28,11 @@ module OS
version >= "10.12"
end
+ def outdated_release?
+ # TODO: bump version when new OS is released
+ version < "10.9"
+ end
+
def cat
version.to_sym
end