From 5ca559979f5074ae784d83a401b7dcb51e98317d Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Thu, 12 Apr 2007 23:52:55 +0200 Subject: [PATCH] Page.pm: Let get_version_string sort architectures alphabetically --- lib/Packages/Page.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Packages/Page.pm b/lib/Packages/Page.pm index 7c3ed67..27c3f36 100644 --- a/lib/Packages/Page.pm +++ b/lib/Packages/Page.pm @@ -243,7 +243,7 @@ sub get_version_string { my @v_str_arch; foreach ( @versions ) { push @v_str, [ $_, $versions->{$_} ]; - push @v_str_arch, "$_ [".join(', ', @{$versions->{$_}})."]"; + push @v_str_arch, "$_ [".join(', ', sort @{$versions->{$_}})."]"; } $v_str_arch = join( ", ", @v_str_arch ); $v_str = join( ", ", @versions ); -- 2.39.2