From fbb4b7f09377ac1fed4f379f394134b5eb9c6073 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Wed, 16 Apr 2008 23:47:02 +0200 Subject: [PATCH] html/download.tmpl: Fix apt sources list hint for *-volatile Noted by Kevin Price --- templates/html/download.tmpl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index 8cd30c5..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') %]

-- 2.39.2