# HG changeset patch # User jh@junetz.de # Date 1312999430 0 # Wed Aug 10 18:03:50 2011 +0000 # Node ID 5f6f288d2562598e95325fbdaf873315d624de65 # Parent c591e617ec42921fc3dacfd1c48f4f49bc3a6cfe Bug 677147 - Update SeaMonkey website for changes to release mirrors Always point Aurora/Beta direct links to FTP and change 2.3b3 back to mirrorred=true diff --git a/lib/release.tmpl b/lib/release.tmpl --- a/lib/release.tmpl +++ b/lib/release.tmpl @@ -50,22 +50,21 @@ END; %] +[% BLOCK direct_download_file; + "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path"; + END; +%] + [% BLOCK download_file; # vars that need to be set by caller or document: # smversion: version number (2.0a1, 2.0.1, ...) # mirrorred: bool that tells us if to use release mirrors/bouncer, false means direct FTP # path: path to add to the base URL of that version - IF mirrorred; + IF mirrorred AND NOT smversion.match('a|b'); "http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path"; ELSE; - "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path"; + INCLUDE direct_download_file; END; END; %] - -[% BLOCK direct_download_file; - # like download_file, but unmirrorred - "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path"; - END; -%] diff --git a/src/releases/2.3b3.en.html b/src/releases/2.3b3.en.html --- a/src/releases/2.3b3.en.html +++ b/src/releases/2.3b3.en.html @@ -1,7 +1,7 @@ [%- PROCESS release.tmpl -%] [%- smversion = '2.3b3' -%] [%- prettyversion = '2.3 Beta 3' -%] -[%- mirrorred = false -%] +[%- mirrorred = true -%] [%- uselongversion = false -%] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en">