diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-26 19:12:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-26 19:12:48 +0000 |
commit | 463ae8dd3011f9bf3014f92edc17af4250ba8d66 (patch) | |
tree | 5e5b4c03e3240234c95395f0a2b9eac9acd4f6c2 /urpm | |
parent | 00f909e65833ea8ef73bf4a02b0dd8d7623636d6 (diff) | |
download | urpmi-463ae8dd3011f9bf3014f92edc17af4250ba8d66.tar urpmi-463ae8dd3011f9bf3014f92edc17af4250ba8d66.tar.gz urpmi-463ae8dd3011f9bf3014f92edc17af4250ba8d66.tar.bz2 urpmi-463ae8dd3011f9bf3014f92edc17af4250ba8d66.tar.xz urpmi-463ae8dd3011f9bf3014f92edc17af4250ba8d66.zip |
adapt to URPM-4.15: find_candidate_packages_() => find_candidate_packages()
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/parallel.pm | 2 | ||||
-rw-r--r-- | urpm/select.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/parallel.pm b/urpm/parallel.pm index c6ec96f4..b3185267 100644 --- a/urpm/parallel.pm +++ b/urpm/parallel.pm @@ -235,7 +235,7 @@ sub _simple_resolve_dependencies { foreach (keys %$requested) { if (/\|/) { #- taken from URPM::Resolve to filter out choices, not complete though. - foreach ($urpm->find_candidate_packages_($_)) { + foreach ($urpm->find_candidate_packages($_)) { my ($best_requested, $best); foreach (@$_) { exists $state->{selected}{$_->id} and $best_requested = $_, last; diff --git a/urpm/select.pm b/urpm/select.pm index 0b5c7fb3..2273ffe1 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -359,7 +359,7 @@ sub select_replacepkgs { my $db = urpm::db_open_or_die_($urpm); foreach my $id (keys %$requested) { - my @pkgs = $urpm->find_candidate_packages_($id); + my @pkgs = $urpm->find_candidate_packages($id); if (my ($pkg) = grep { URPM::is_package_installed($db, $_) } @pkgs) { $urpm->{debug_URPM}("selecting replacepkg " . $pkg->fullname) if $urpm->{debug_URPM}; $pkg->set_flag_requested; |