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 | colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.gz colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.bz2 colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.tar.xz colin-keep-9e7b2b53b8f7b34a05e5b4055638a9e39e2e200e.zip |
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 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; } |