X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=27a4cf5b4733dff42d7cbd6e3595dfc62a5ffa41;hb=a6b0759c90c35aae73ae5b4bdc2ca069e768ee7e;hp=c59a6e5d88517c3d1d58e90a71c936793761b093;hpb=2ec757bb58907b15c43548be5601d4f2b8c7caac;p=deb%2Fpackages.git diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index c59a6e5..27a4cf5 100644 --- a/templates/html/download.tmpl +++ b/templates/html/download.tmpl @@ -8,6 +8,7 @@ { name => 'Download' }, ] -%] +[%- PROCESS 'config/archive_layout.tmpl' -%] [%- PROCESS 'config/mirrors.tmpl' -%] [%- PROCESS 'config/architectures.tmpl' -%] [%- PROCESS 'html/messages.tmpl' -%] @@ -23,6 +24,18 @@ package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website.

+

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" %] +
+deb http://[% mirrors.$archive.europa.0 %] [% suite %] main [% section IF section != main_section %]
+
+

Replacing [% mirrors.$archive.europa.0 %] with the mirror in question. +[% ELSE %] +

+deb http://security.debian.org/debian-security [% suite _ "/updates" %] main [% section IF section != main_section %]
+
+[%- END %] [% IF suite == "experimental" %]

Experimental package

Warning: This package is from the experimental distribution. @@ -79,10 +92,13 @@ please see our complete mirror list.

[% END %] [% IF a.unofficial_port %] -[% SET port = a.unofficial_port %] +[% SET port = a.unofficial_port.$architecture %] +[% IF port.url_name; + SET port.url = ports_url _ port.url_name _ '/'; + END -%]

Note that [% port.name %] is not officially included in the [% organisation %] archive yet, but the [% port.name %] porter group keeps their archive in sync with the official archive as close as possible. -See the [% port.name %] ports page for current information.

+See the [% port.name %] ports page for current information.

[% END %]

Note that in some browsers you will need to tell your browser you want the file saved to a file. @@ -97,3 +113,5 @@ For example, in Firefox or Mozilla, you should hold the Shift key when you click SHA1 checksum [% sha1 || 'Not Available' %] SHA256 checksum [% sha256 || 'Not Available' %] + +[%- PROCESS 'html/foot.tmpl' -%]