From 66da5296de39b8db2673c698ea79dde436f37fb3 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 2 Jun 2007 23:01:24 +0200 Subject: [PATCH] templates/html/download.tmpl: Handle security in apt nag Needs to be special cased since we don't have a mirror list for security. --- templates/html/download.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 2.39.2