summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-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