X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=bfb4a2314a84a819999fc969473a471f01b10a27;hb=ba5be70ae27ddcb97cae5b9e5ceb9c97c06649f3;hp=a021d5559623d232ed72c7cc3b96bfbbe08a14c4;hpb=4c6c02445d6bd955db66d82946b8c955b1f43615;p=deb%2Fpackages.git diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index a021d55..bfb4a23 100644 --- a/templates/html/download.tmpl +++ b/templates/html/download.tmpl @@ -23,15 +23,20 @@

[% g('If you are running %s, it is strongly suggested to use a package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website.', organisation, make_url('aptitude','','arch',''), make_url('synaptic','','arch','')) %]

[% g('You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:') %]

-[% IF archive != "security" %] +[% IF archive == "volatile" %]
-deb http://[% mirrors.$archive.europa.0 %] [% suite %] main [% section IF section != main_section %]
+deb http://[% mirrors.$archive.europa.0 %] [% suite.replace('-','/') %] main [% section IF section != main_section %]
 

[% g('Replacing %s with the mirror in question.', mirrors.$archive.europa.0) %] -[% ELSE %] +[% ELSIF archive == "security" %]

 deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] main [% section IF section != main_section %]
 
+[% ELSE %] +
+deb http://[% mirrors.$archive.europa.0 %] [% suite %] main [% section IF section != main_section %]
+
+

[% g('Replacing %s with the mirror in question.', mirrors.$archive.europa.0) %] [%- END %] [% IF suite == "experimental" %]

[% g('Experimental package') %]

@@ -49,7 +54,7 @@ deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] ma

[% g('You can download the requested file from the %s subdirectory at any of these sites:', filename.directory) %]

- [% FOREACH continent IN [ 'north_america', 'south_america', 'asia', 'africa', 'australia' ] %] + [% FOREACH continent IN [ 'north_america', 'south_america', 'asia', 'africa' ] %] [% IF a.$continent %]

[% continents.$continent %]

- [% FOREACH continent IN [ 'europa' ] %] + [% FOREACH continent IN [ 'europa', 'australia' ] %] [% IF a.$continent %]

[% continents.$continent %]