]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 778226 - Add Mac OS 10.8 Mountain Lion detection
authorMatt Selsky <selsky@columbia.edu>
Mon, 30 Jul 2012 20:51:00 +0000 (16:51 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Mon, 30 Jul 2012 20:51:00 +0000 (16:51 -0400)
r=timeless, a=LpSolit

Bugzilla/UserAgent.pm

index 7071a37b63b58f072431d07dce1ee41e5f7a9609..b5d55213053756f38fefe5cf3cc340b4db68d589 100644 (file)
@@ -117,6 +117,7 @@ use constant OS_MAP => (
     qr/\(.*Win(?:dows[ -]|)NT.*\)/ => ["Windows NT"],
     qr/\(.*Windows.*NT.*\)/ => ["Windows NT"],
     # OS X
+    qr/\(.*Mac OS X (?:|Mach-O |\()10.8.*\)/ => ["Mac OS X 10.8"],
     qr/\(.*Mac OS X (?:|Mach-O |\()10.7.*\)/ => ["Mac OS X 10.7"],
     qr/\(.*Mac OS X (?:|Mach-O |\()10.6.*\)/ => ["Mac OS X 10.6"],
     qr/\(.*Mac OS X (?:|Mach-O |\()10.5.*\)/ => ["Mac OS X 10.5"],