]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fixed not working detection of Mac OS X
authoreldy <>
Tue, 20 Jan 2004 23:07:01 +0000 (23:07 +0000)
committereldy <>
Tue, 20 Jan 2004 23:07:01 +0000 (23:07 +0000)
wwwroot/cgi-bin/lib/operating_systems.pm

index f1b7fbe76305afe37091e66cc499675fe0cc9a3b..d847c178b7dd4d31f532c25c575f99718db2d75b 100644 (file)
@@ -28,7 +28,7 @@
 'win(.*)16','windows[_+ ]3',                                   # This works for windows_31 and windows_3.1
 'win(.*)ce',
 # Macintosh OS family
-'mac os x',
+'mac[_+ ]os[_+ ]x',
 'mac[_+ ]?p',                                                                  # This works for macppc and mac_ppc and mac_powerpc
 'mac[_+ ]68',                                                                  # This works for mac_6800 and mac_68k
 'macweb',
@@ -79,7 +79,7 @@
 'win(.*)16','win16','windows[_+ ]3','win16',
 'win(.*)ce','wince',
 # Macintosh OS family
-'mac os x','macosx',
+'mac[_+ ]os[_+ ]x','macosx',
 'mac[_+ ]?p','macintosh','mac[_+ ]68','macintosh','macweb','macintosh','macintosh','macintosh',
 # Unix like OS
 'linux','linux',