summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-10 04:08:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-10 04:08:52 +0000
commit2de042231cd290486a542cb8bb3b53e5f7340e4a (patch)
tree908a73bed2928e4fd94ba36e93852cc1793bf25a /perl-install
parentad03f8b4dad6061ac26ea83aa46be58799fb3a21 (diff)
downloaddrakx-backup-do-not-use-2de042231cd290486a542cb8bb3b53e5f7340e4a.tar
drakx-backup-do-not-use-2de042231cd290486a542cb8bb3b53e5f7340e4a.tar.gz
drakx-backup-do-not-use-2de042231cd290486a542cb8bb3b53e5f7340e4a.tar.bz2
drakx-backup-do-not-use-2de042231cd290486a542cb8bb3b53e5f7340e4a.tar.xz
drakx-backup-do-not-use-2de042231cd290486a542cb8bb3b53e5f7340e4a.zip
on upgrade, have not only the upgraded packages, but also the installed packages in package_list.pl (bugzilla #15296)
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;
}