aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/recent_list.wml
diff options
context:
space:
mode:
authorThomas Huriaux <thuriaux>2005-12-04 13:47:03 +0000
committerThomas Huriaux <thuriaux>2005-12-04 13:47:03 +0000
commit4d63fe68258ca9ebabb316d58f1f51a69fcffd2b (patch)
treefd7c13cac1cb9a12406341bff5f86912bd54c1ac /english/template/debian/recent_list.wml
parentae753a7c527bfde6d9cfe5feb1d7b6828330d96b (diff)
Small fix to handle DSAs > 1000
CVS version numbers english/template/debian/recent_list.wml: 1.130 -> 1.131
Diffstat (limited to 'english/template/debian/recent_list.wml')
-rw-r--r--english/template/debian/recent_list.wml4
1 files changed, 3 insertions, 1 deletions
diff --git a/english/template/debian/recent_list.wml b/english/template/debian/recent_list.wml
index a8ec6b0f732..33709c2ce54 100644
--- a/english/template/debian/recent_list.wml
+++ b/english/template/debian/recent_list.wml
@@ -183,7 +183,9 @@ sub get_recent_list {
@files = ( @files, @new_files );
}
- @files = sort {$a cmp $b} @files;
+ @files = sort {
+ ($a =~ m,(?:^|/)dsa-(\d+),)[0] <=> ($b =~ m,(?:^|/)dsa-(\d+),)[0] || $a cmp $b
+ } @files;
#warn "files: " . join " ", @files; warn "\n";
#warn "years: " . join " ", @years; warn "\n";

© 2014-2024 Faster IT GmbH | imprint | privacy policy