aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
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