Author: marcus
Date: Mon Feb 10 23:35:43 2014
New Revision: 1566853

URL: http://svn.apache.org/r1566853
Log:
Fixed wrong platform part

Modified:
    openoffice/ooo-site/trunk/content/download/download.js

Modified: openoffice/ooo-site/trunk/content/download/download.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/download.js?rev=1566853&r1=1566852&r2=1566853&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/download.js Mon Feb 10 23:35:43 
2014
@@ -309,6 +309,9 @@ function getPlatform() {
                 os.indexOf( "amd64"            ) != -1 ) {     UI_PLATFORM     
= "Linux 64-bit (RPM)";
                                                                URL_PLATFORM    
= "Linux_x86-64_install-rpm";
                                                                EXTENSION       
= ".tar.gz";
+                                                               UI_PLATFORM     
= "OS X 32-bit Intel (DMG)";
+                                                               URL_PLATFORM    
= "MacOS_x86_install";
+                                                               EXTENSION       
= ".dmg";
              if ( ua.indexOf( "debian"         ) != -1 ||
                   ua.indexOf( "ubuntu"         ) != -1 ||
                   ua.indexOf( "iceweasel"      ) != -1 ) {     UI_PLATFORM     
= "Linux Debian 64-bit (DEB)";
@@ -320,7 +323,7 @@ function getPlatform() {
 
          // OS X x86?
          if ( os.indexOf( "mac"                ) != -1 ) {     UI_PLATFORM     
= "OS X 32-bit Intel (DMG)";
-                                                               URL_PLATFORM    
= "Mac_x86_install";
+                                                               URL_PLATFORM    
= "MacOS_x86_install";
                                                                EXTENSION       
= ".dmg";
          } 
        } 
@@ -352,7 +355,7 @@ function getFilesize() {
                case "Linux_x86_install-rpm":
                        RELEASE_MATRIX_PLATFORM_POS = 5;
                        break;
-               case "Mac_x86_install":
+               case "MacOS_x86_install":
                        RELEASE_MATRIX_PLATFORM_POS = 8;
                        break;
                case "Win_x86_install":


Reply via email to