aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools/Shared/urpmi_backend/tools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ManaTools/Shared/urpmi_backend/tools.pm')
-rw-r--r--lib/ManaTools/Shared/urpmi_backend/tools.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ManaTools/Shared/urpmi_backend/tools.pm b/lib/ManaTools/Shared/urpmi_backend/tools.pm
index 4997f586..2147fab4 100644
--- a/lib/ManaTools/Shared/urpmi_backend/tools.pm
+++ b/lib/ManaTools/Shared/urpmi_backend/tools.pm
@@ -447,6 +447,7 @@ sub get_installed_fullname_pkid {
$db->traverse_tag_find('name', $pkgname, sub {
my ($p) = @_;
$installed_pkid = $self->get_package_id($p);
+ return $installed_pkid ? 1 : 0;
});
return $installed_pkid;
}