summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index cbd6fd60..217577a2 100755
--- a/urpmq
+++ b/urpmq
@@ -393,7 +393,8 @@ my $query_sub = sub {
my %hack_only_one;
if ($query->{complete}) {
- foreach my $removal (keys %{$state->{ask_remove} || {}}) {
+ foreach my $removal (grep { $state->{rejected}{$_}{removed} && !$state->{rejected}{$_}{obsoleted} }
+ keys %{$state->{rejected} || {}}) {
print '@removing@' . $removal . "\n";
}
}