From c0b88d8d63e7d1a571bc40aa6c1386ea7bd7c7fb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 7 Jul 2008 22:21:48 +0000 Subject: fix detecting urpme creates a new orphan through "suggests" --- urpm/orphans.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/orphans.pm') diff --git a/urpm/orphans.pm b/urpm/orphans.pm index b4149361..283c9dec 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -157,7 +157,7 @@ sub _unrequested_orphans_after_remove_once { $db->traverse_tag('name', [ $n ], sub { my ($p) = @_; $p->fullname eq $fn or return; - push @requires, $p->requires; + push @requires, $p->requires, $p->suggests; }); } -- cgit v1.2.1