aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-07-22 11:26:14 (GMT)
committerAngelo Naselli <anaselli@linux.it>2015-07-22 11:26:14 (GMT)
commit9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e (patch)
tree281621bba1ee5611e1d6d8dcb126cd2304d0767e
parent1510177499248930203b63a2ac50ffe8f1dfe2e6 (diff)
removed a warning in mga4HEADmaster
-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 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;
}