X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=c524423d7bee245729a8ff48bf0174e681f21c03;hb=d0c1749af458e5a882869d0bb3efbbc859c479f7;hp=66b921204a177ac1c0f32d45c13a084803868ffc;hpb=65c3333549a7b7db89fd908a68cc337431e8189b;p=deb%2Fpackages.git diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index 66b9212..c524423 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') %]

@@ -73,7 +78,7 @@ deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] ma [% ELSE %]

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

- +

[% g('%s security updates are officially distributed only via %s.', organisation, security_mirror) %]

[% END %] @@ -99,7 +104,7 @@ deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] ma

[% g('More information on %s:', filename.file) %]

- +
[% g('Exact Size') %] [% g('%s Byte (%s %s)', size, pkgsize, pkgsize_unit) %]
[% g('Exact Size') %] [% g('%s Byte (%s %s)', size, num.format_number(pkgsize,1), pkgsize_unit) %]
[% g('MD5 checksum') %] [% md5sum %]
[% g('SHA1 checksum') %] [% sha1 || g('Not Available') %]
[% g('SHA256 checksum') %] [% sha256 || g('Not Available') %]