diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-07-22 13:26:14 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-07-22 13:26:14 +0200 |
commit | 9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e (patch) | |
tree | 281621bba1ee5611e1d6d8dcb126cd2304d0767e /lib/ManaTools/Shared/urpmi_backend/tools.pm | |
parent | 1510177499248930203b63a2ac50ffe8f1dfe2e6 (diff) | |
download | manatools-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar manatools-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.gz manatools-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.bz2 manatools-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.xz manatools-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.zip |
removed a warning in mga4
Diffstat (limited to 'lib/ManaTools/Shared/urpmi_backend/tools.pm')
-rw-r--r-- | lib/ManaTools/Shared/urpmi_backend/tools.pm | 1 |
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; } |