]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 714030: Add Mac OS 10.7 Lion detection
authorMatt Selsky <selsky@columbia.edu>
Sun, 26 Feb 2012 11:52:49 +0000 (12:52 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 26 Feb 2012 11:52:49 +0000 (12:52 +0100)
r/a=LpSolit

enter_bug.cgi

index ce50a2ce671f87d0db77e15534d7b26ceed1fcde..59edc2e13b022ec488a989372b1e7841df8b4500 100755 (executable)
@@ -310,6 +310,7 @@ sub pickos {
               /\(.*Windows.*NT.*\)/ && do {push @os, "Windows NT";};
             };
             /\(.*Mac OS X.*\)/ && do {
+              /\(.*Mac OS X (?:|Mach-O |\()10.7.*\)/ && do {push @os, "Mac OS X 10.7";};
               /\(.*Mac OS X (?:|Mach-O |\()10.6.*\)/ && do {push @os, "Mac OS X 10.6";};
               /\(.*Mac OS X (?:|Mach-O |\()10.5.*\)/ && do {push @os, "Mac OS X 10.5";};
               /\(.*Mac OS X (?:|Mach-O |\()10.4.*\)/ && do {push @os, "Mac OS X 10.4";};