The following commit has been merged in the master branch:
commit fbb4b7f09377ac1fed4f379f394134b5eb9c6073
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date:   Wed Apr 16 23:47:02 2008 +0200

    html/download.tmpl: Fix apt sources list hint for *-volatile
    
    Noted by Kevin Price <kp -at- kevin-price de>

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 @@
 <p>[% g('If you are running %s, it is strongly suggested to use a package 
manager like <a href="%s">aptitude</a> or <a href="%s">synaptic</a> to download 
and install packages, instead of doing so manually via this website.',
        organisation, make_url('aptitude','','arch',''), 
make_url('synaptic','','arch','')) %]</p>
 <p>[% g('You should be able to use any of the listed mirrors by adding a line 
to your <kbd>/etc/apt/sources.list</kbd> like this:') %]</p>
-[% IF archive != "security" %]
+[% IF archive == "volatile" %]
 <pre>
-deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite %] main [% 
section IF section != main_section %]
+deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite.replace('-','/') 
%] main [% section IF section != main_section %]
 </pre>
 <p>[% g('Replacing <em>%s</em> with the mirror in question.', 
mirrors.$archive.europa.0) %]
-[% ELSE %]
+[% ELSIF archive == "security" %]
 <pre>
 deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] 
main [% section IF section != main_section %]
 </pre>
+[% ELSE %]
+<pre>
+deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite %] main [% 
section IF section != main_section %]
+</pre>
+<p>[% g('Replacing <em>%s</em> with the mirror in question.', 
mirrors.$archive.europa.0) %]
 [%- END %]
 [% IF suite == "experimental" %]
 <h2>[% g('Experimental package') %]</h2>

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to