summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:52:08 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:52:08 +0000
commit43f50f4049244eeab50031d47391b16f4460a642 (patch)
tree3388fce3088cec0ecfc147612b84d82d41105947 /urpm
parentdef552f8ef28f613dc0e6daa2b19d2cab0bdcc09 (diff)
downloadurpmi-43f50f4049244eeab50031d47391b16f4460a642.tar
urpmi-43f50f4049244eeab50031d47391b16f4460a642.tar.gz
urpmi-43f50f4049244eeab50031d47391b16f4460a642.tar.bz2
urpmi-43f50f4049244eeab50031d47391b16f4460a642.tar.xz
urpmi-43f50f4049244eeab50031d47391b16f4460a642.zip
(find_packages_to_remove) simplify case where only name was given
(URPM::traverse_tag() already perfomed the check for us...)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 2ab00ce7..47b8164d 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -449,7 +449,6 @@ sub find_packages_to_remove {
#- check if only name was given.
$db->traverse_tag('name', [ $_ ], sub {
my ($p) = @_;
- $p->name eq $_ or return;
$urpm->resolve_rejected($db, $state, $p, removed => 1);
push @m, scalar $p->fullname;
$found = 1;