From 9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Wed, 22 Jul 2015 13:26:14 +0200 Subject: removed a warning in mga4 --- lib/ManaTools/Shared/urpmi_backend/tools.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ManaTools/Shared/urpmi_backend/tools.pm b/lib/ManaTools/Shared/urpmi_backend/tools.pm index 4997f58..2147fab 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; } -- cgit v1.2.1