aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index fdac138..877ac09 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -540,7 +540,7 @@ sub compute_installed_flags {
$db->traverse(sub {
my ($p) = @_;
#- keep mind of sizes of each packages.
- $sizes{join '-', ($p->fullname)[0..2]} = $p->size;
+ $sizes{$p->name} += $p->size;
#- compute flags.
foreach (keys %{$urpm->{provides}{$p->name} || {}}) {
my $pkg = $urpm->{depslist}[$_];