aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-01-20 10:44:34 +0000
committerThierry Vignaud <tv@mageia.org>2013-01-20 10:44:34 +0000
commit0467b3fa3b425dd9fb530f94fd438db87cdb0755 (patch)
tree70f4e166372c545999a9dbef64857a8eae4dbe5f /URPM/Resolve.pm
parent5620e0f0e4d2352baf731a457fde39879c0d61a6 (diff)
downloadperl-URPM-0467b3fa3b425dd9fb530f94fd438db87cdb0755.tar
perl-URPM-0467b3fa3b425dd9fb530f94fd438db87cdb0755.tar.gz
perl-URPM-0467b3fa3b425dd9fb530f94fd438db87cdb0755.tar.bz2
perl-URPM-0467b3fa3b425dd9fb530f94fd438db87cdb0755.tar.xz
perl-URPM-0467b3fa3b425dd9fb530f94fd438db87cdb0755.zip
(_is_selected_or_installed ) fix scoring locale packages
revert part of commit r5052 (June 28 2012, "light speedups")
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index b0df240..495d8e5 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -162,7 +162,7 @@ sub _is_selected_or_installed {
my ($urpm, $db, $name) = @_;
(grep { $_->flag_available } $urpm->packages_providing($name)) > 0 ||
- $db->traverse_tag_find('name', $name, sub {}) > 0;
+ $db->traverse_tag('name', [ $name ], undef) > 0;
}
#- finds $pkg "provides" that matches $provide_name, and returns the version provided