X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=e08aff21b00be974e416b4f49615242f3cd84e25;hb=8b6da1ebd2a201a7b98f8a9696b928e1fc514bd5;hp=e980f2fb526f0dafc50701eaffc573e90558aba7;hpb=cfb85910aaeef59209d75dc3bae9fe514f591828;p=deb%2Fpackages.git diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index e980f2f..e08aff2 100644 --- a/templates/html/download.tmpl +++ b/templates/html/download.tmpl @@ -26,10 +26,16 @@ package manager like aptitude< 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. @@ -86,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.