X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=0326a146af92890c8454f2da06daac6beb6dd9cf;hb=9786e970292c154845a5f5dbc3086191ea59a6f0;hp=a021d5559623d232ed72c7cc3b96bfbbe08a14c4;hpb=3cf32c32f93178b8645cb641b57e24c724e6cc13;p=deb%2Fpackages.git diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index a021d55..0326a14 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') %]

@@ -105,4 +110,4 @@ deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] ma [% g('SHA256 checksum') %] [% sha256 || g('Not Available') %] -[%- PROCESS 'html/foot.tmpl' -%] +[%- PROCESS 'html/foot.tmpl' page_name="$pkg/download" -%]