diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-14 20:51:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-14 20:51:54 +0000 |
commit | f14f6faa7d6dc511373e81c52d54e46171bd460a (patch) | |
tree | 61c44d6910344674ab48a1c11fff61b139207d62 /urpm/select.pm | |
parent | eaa97c47bfee7935252237cdb15dc6041cf1386d (diff) | |
download | urpmi-f14f6faa7d6dc511373e81c52d54e46171bd460a.tar urpmi-f14f6faa7d6dc511373e81c52d54e46171bd460a.tar.gz urpmi-f14f6faa7d6dc511373e81c52d54e46171bd460a.tar.bz2 urpmi-f14f6faa7d6dc511373e81c52d54e46171bd460a.tar.xz urpmi-f14f6faa7d6dc511373e81c52d54e46171bd460a.zip |
help perl_checker
Diffstat (limited to 'urpm/select.pm')
-rw-r--r-- | urpm/select.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index 21cd96e6..40f0b29b 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -413,7 +413,7 @@ sub find_packages_to_remove { $db->traverse_tag('name', [ $n ], sub { my ($p) = @_; $p->fullname eq $_ or return; - $urpm->resolve_rejected($db, $state, $p, removed => 1); + $urpm->resolve_rejected($db, $state, $p, (removed => 1)); push @m, scalar $p->fullname; $found = 1; }); @@ -426,7 +426,7 @@ sub find_packages_to_remove { my ($p) = @_; my ($name, $version, $release) = $p->fullname; "$name-$version-$release" eq $_ or return; - $urpm->resolve_rejected($db, $state, $p, removed => 1); + $urpm->resolve_rejected($db, $state, $p, (removed => 1)); push @m, scalar $p->fullname; $found = 1; }); @@ -439,7 +439,7 @@ sub find_packages_to_remove { my ($p) = @_; my ($name, $version) = $p->fullname; "$name-$version" eq $_ or return; - $urpm->resolve_rejected($db, $state, $p, removed => 1); + $urpm->resolve_rejected($db, $state, $p, (removed => 1)); push @m, scalar $p->fullname; $found = 1; }); @@ -450,7 +450,7 @@ sub find_packages_to_remove { $db->traverse_tag('name', [ $_ ], sub { my ($p) = @_; $p->name eq $_ or return; - $urpm->resolve_rejected($db, $state, $p, removed => 1); + $urpm->resolve_rejected($db, $state, $p, (removed => 1)); push @m, scalar $p->fullname; $found = 1; }); @@ -477,7 +477,7 @@ sub find_packages_to_remove { my ($p) = @_; my $f = scalar $p->fullname; $f =~ $qmatch or return; - $urpm->resolve_rejected($db, $state, $p, removed => 1); + $urpm->resolve_rejected($db, $state, $p, (removed => 1)); push @m, $f; }); $urpm->{log}("...done, packages found [" . join(' ', @m) . "]"); |