From: Frank Lichtenheld Date: Sat, 2 Jun 2007 21:01:24 +0000 (+0200) Subject: templates/html/download.tmpl: Handle security in apt nag X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=66da5296de39b8db2673c698ea79dde436f37fb3;p=deb%2Fpackages.git templates/html/download.tmpl: Handle security in apt nag Needs to be special cased since we don't have a mirror list for security. --- diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index e980f2f..e30fa1d 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.