incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksch...@apache.org
Subject svn commit: r1330062 - /incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
Date Tue, 24 Apr 2012 23:35:43 GMT
Author: kschenk
Date: Tue Apr 24 23:35:42 2012
New Revision: 1330062

URL: http://svn.apache.org/viewvc?rev=1330062&view=rev
Log:
kls -- ongoing

Modified:
    incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js

Modified: incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js?rev=1330062&r1=1330061&r2=1330062&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js Tue Apr 24 23:35:42
2012
@@ -408,6 +408,13 @@ function sourceforge_getLink(version, sc
 	sf_link = mirrorbrain_link.replace(MIRROR_MIRRORBRAIN_URL, MIRROR_SOURCEFORGE_URL) + '/download';
 	return sf_link;
 }
+/*
+function apache_getLink(version, schema) {
+	var mirrorbrain_link = mirrorbrain_getLink(version, schema);
+	sf_link = mirrorbrain_link.replace(MIRROR_MIRRORBRAIN_URL, MIRROR_SOURCEFORGE_URL) + '/download';
+	return sf_link;
+}
+*/
 
 /*
  * get link
@@ -421,6 +428,8 @@ function getLink( version, mirror, schem
 			return mirrorbrain_getLink( version, schema );
 		} else if ( mirror.indexOf( "sourceforge" ) > -1 ) {
 			return sourceforge_getLink( version, schema );
+		} else if (mirror.indexOf( "apache") > -1) {
+			return apache_getLink (version, schema);
 		} else {
 			return bouncer_getLink( version );
 		}



Mime
View raw message