summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2012-02-26 12:52:49 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-02-26 12:52:49 +0100
commit0f9e374c20bb56cf1df8733863d42f0660b8510a (patch)
tree151e09de1cf4d32125ee956171886a2594667a32 /enter_bug.cgi
parent5c7b519fd62222b18202e93889748008e698d5c1 (diff)
downloadbugzilla-0f9e374c20bb56cf1df8733863d42f0660b8510a.tar.gz
bugzilla-0f9e374c20bb56cf1df8733863d42f0660b8510a.tar.xz
Bug 714030: Add Mac OS 10.7 Lion detection
r/a=LpSolit
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index ce50a2ce6..59edc2e13 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -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";};