aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM/Resolve.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 31f5c88..81bcd87 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -506,6 +506,12 @@ sub set_rejected {
my $rv = $state->{rejected}{$pkg->fullname} ||= {};
+ if ($newly_rejected) {
+ $urpm->{debug_URPM}("set_rejected: " . $pkg->fullname) if $urpm->{debug_URPM};
+ #- keep track of size of package which are finally removed.
+ $rv->{size} = $pkg->size;
+ }
+
#- keep track of what causes closure.
if ($options{from}) {
my $closure = $rv->{closure}{$options{from}} ||= {};
@@ -522,11 +528,6 @@ sub set_rejected {
and $rv->{$_} = $options{$_};
}
- if ($newly_rejected) {
- #- keep track of size of package which are finally removed.
- $rv->{size} = $pkg->size;
- }
-
$newly_rejected;
}