]> git.deb.at Git - deb/packages.git/commitdiff
Page.pm: Let get_version_string sort architectures alphabetically
authorFrank Lichtenheld <frank@lichtenheld.de>
Thu, 12 Apr 2007 21:52:55 +0000 (23:52 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Thu, 12 Apr 2007 21:52:55 +0000 (23:52 +0200)
lib/Packages/Page.pm

index 7c3ed677d27632e492a291c763cce8a0a890ce79..27c3f3638e062a56d300a3311047c07994de7ca6 100644 (file)
@@ -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 );