From 13d40fe95f9d8b47f370cff835cbcd77f988e5db Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Wed, 22 Feb 2006 02:30:04 +0000 Subject: [PATCH] Move list of files to the end of the table, other entries relate more directly to the package itself --- lib/Packages/DoShow.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 6efef58..b375977 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -229,24 +229,24 @@ sub do_show { $package_page .= ""._g("Architecture").""; $package_page .= ""._g("Version")."" if $multiple_versions; - $package_page .= ""._g("Files").""._g( "Package Size").""._g("Installed Size")."\n"; + $package_page .= ""._g( "Package Size").""._g("Installed Size").""._g("Files")."\n"; foreach my $a ( @archs ) { $package_page .= "\n"; $package_page .= "$a\n"; $package_page .= "".$versions->{$a}."" if $multiple_versions; - $package_page .= ""; + $package_page .= ''; + $package_page .= floor(($sizes_deb->{$a}/102.4)+0.5)/10 . " kB"; + $package_page .= ''; + $package_page .= $sizes_inst->{$a} . " kB"; + $package_page .= "\n"; if ( $suite ne "experimental" ) { $package_page .= sprintf( "["._g( "list of files" )."]\n", "$ROOT/$suite/$encodedpkg/$a/filelist", $pkg ); } else { $package_page .= _g( "no current information" ); } - $package_page .= ''; - $package_page .= floor(($sizes_deb->{$a}/102.4)+0.5)/10 . " kB"; - $package_page .= ''; - $package_page .= $sizes_inst->{$a} . " kB"; $package_page .= "\n"; } $package_page .= "\n"; -- 2.39.2