summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-07 22:21:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-07 22:21:48 +0000
commitc0b88d8d63e7d1a571bc40aa6c1386ea7bd7c7fb (patch)
tree88ea205499701f862ee7ccbf8f30104361ab5e98 /urpm/orphans.pm
parent63e417616094309282e77e0c9fd940b66ae0ee1a (diff)
downloadurpmi-c0b88d8d63e7d1a571bc40aa6c1386ea7bd7c7fb.tar
urpmi-c0b88d8d63e7d1a571bc40aa6c1386ea7bd7c7fb.tar.gz
urpmi-c0b88d8d63e7d1a571bc40aa6c1386ea7bd7c7fb.tar.bz2
urpmi-c0b88d8d63e7d1a571bc40aa6c1386ea7bd7c7fb.tar.xz
urpmi-c0b88d8d63e7d1a571bc40aa6c1386ea7bd7c7fb.zip
fix detecting urpme creates a new orphan through "suggests"
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 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;
});
}