summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-15 14:40:47 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-15 14:40:47 +0000
commit5a78b939ddf8a9483f6bfccd3258b35bbe258385 (patch)
tree15a895a87826860e66b12644fbc66f5da5c587e9 /urpm/orphans.pm
parent8871b2fad41c3410a5247d3d83efdfc37585fd78 (diff)
downloadurpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar.gz
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar.bz2
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar.xz
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.zip
(installed_leaves) do not list suggested packages as unrequested packages (#46326)
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r--urpm/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index 42d8ea42..dfc78713 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -334,7 +334,7 @@ sub installed_leaves {
}
foreach my $pkg (@$packages) {
- foreach my $prop ($pkg->requires) {
+ foreach my $prop ($pkg->requires, $pkg->suggests) {
my $n = URPM::property2name($prop);
foreach my $p (@{$provides{$n} || []}) {
$p != $pkg && $p->provides_overlap($prop) and