summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-05-26 15:27:50 +0000
committerFrancois Pons <fpons@mandriva.com>2003-05-26 15:27:50 +0000
commitf51ab4206f9e9bb149c8ce4ee0d1bbbecbcd5fc6 (patch)
treeb7438b732dffc7c881a735f98d73d9dd2093067c /urpmq
parentd3c407ef588472520fbafa1d140e6ceff0726c37 (diff)
downloadurpmi-f51ab4206f9e9bb149c8ce4ee0d1bbbecbcd5fc6.tar
urpmi-f51ab4206f9e9bb149c8ce4ee0d1bbbecbcd5fc6.tar.gz
urpmi-f51ab4206f9e9bb149c8ce4ee0d1bbbecbcd5fc6.tar.bz2
urpmi-f51ab4206f9e9bb149c8ce4ee0d1bbbecbcd5fc6.tar.xz
urpmi-f51ab4206f9e9bb149c8ce4ee0d1bbbecbcd5fc6.zip
4.3-12mdk
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";
}
}