aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools/Shared
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-07-22 13:26:14 +0200
committerAngelo Naselli <anaselli@linux.it>2015-07-22 13:26:14 +0200
commit9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e (patch)
tree281621bba1ee5611e1d6d8dcb126cd2304d0767e /lib/ManaTools/Shared
parent1510177499248930203b63a2ac50ffe8f1dfe2e6 (diff)
downloadcolin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar
colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.gz
colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.bz2
colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.xz
colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.zip
removed a warning in mga4HEADmaster
Diffstat (limited to 'lib/ManaTools/Shared')
-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;
}