]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 714030: Add Mac OS 10.7 Lion detection
authorMatt Selsky <selsky@columbia.edu>
Sat, 25 Feb 2012 14:24:08 +0000 (15:24 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 25 Feb 2012 14:24:08 +0000 (15:24 +0100)
r=timeless a=LpSolit

Bugzilla/UserAgent.pm

index 0b0a4a76a7b965a272be11ff49f0763a530b28be..cafbe9ca718d8854e772543fd8964a55ae1cf94c 100644 (file)
@@ -115,6 +115,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.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"],
     qr/\(.*Mac OS X (?:|Mach-O |\()10.4.*\)/ => ["Mac OS X 10.4"],