From: Frank Lichtenheld
Date: Wed, 6 Feb 2008 16:55:36 +0000 (+0100)
Subject: [UBUNTU] static/index.tmpl: Add version numbers to release names
X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=483a82c4f05b456c7c9c84db77419409bdb2e207;p=deb%2Fpackages.git
[UBUNTU] static/index.tmpl: Add version numbers to release names
Merged from CVS
(cherry-picked from df06c83004cc5dc74e969a8b2f99beb67d7849ac
and adapted to Debian)
---
diff --git a/static/index.tmpl b/static/index.tmpl
index 9c05b5d..3d2a04f 100644
--- a/static/index.tmpl
+++ b/static/index.tmpl
@@ -7,6 +7,8 @@
all_suites = [ 'sarge', 'sarge-volatile', 'sarge-backports',
'etch', 'etch-m68k', 'etch-volatile', 'etch-backports',
'lenny', 'sid' ]
+ version_numbers = { sarge => '3.1',
+ etch => '4.0' }
current_release = 'etch'
all_sections = [ 'main', 'contrib', 'non-free' ]
all_architectures = [ 'alpha', 'arm', 'armel', 'amd64', 'hppa', 'i386',
@@ -25,7 +27,8 @@ if you encounter any problems!
[% FOREACH s IN all_suites %]
-- [% s %]
+- [% s %]
+[% IF version_numbers.$s %]([% version_numbers.$s %])[% END %]
[% END %]