summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index a7de73565..ebdf1be7f 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -1306,7 +1306,7 @@ sub selected_leaves {
my @leaves;
foreach (@{$packages->{depslist}}) {
- $_->flag_requested && !$_->flag_base and push @leaves, $_->name;
+ ($_->flag_requested || $_->flag_installed) && !$_->flag_base and push @leaves, $_->name;
}
\@leaves;
}