summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-04 13:44:55 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-04 13:44:55 +0000
commiteb368707588dd1720212524734e039fb0a509dd5 (patch)
tree587a21ed34d93105a1152975a85c817734aa3c9d
parent59a7e0cec4b1e53f9e5f7806ff315cb5bd66598f (diff)
downloaddrakx-eb368707588dd1720212524734e039fb0a509dd5.tar
drakx-eb368707588dd1720212524734e039fb0a509dd5.tar.gz
drakx-eb368707588dd1720212524734e039fb0a509dd5.tar.bz2
drakx-eb368707588dd1720212524734e039fb0a509dd5.tar.xz
drakx-eb368707588dd1720212524734e039fb0a509dd5.zip
added selectPackagesToUpgrade the first time choosePackages is called.
-rw-r--r--perl-install/install2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index aa2f2b973..9be58979a 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -236,6 +236,7 @@ sub choosePackages {
#- always setPackages as it may have to copy hdlist files and depslist file.
$o->setPackages;
+ $o->selectPackagesToUpgrade if $o->{isUpgrade} && $_[1] == 1;
$o->choosePackages($o->{packages}, $o->{compssUsers}, $_[1] == 1);
log::l("compssUsersChoice's: ", join(" ", grep { $o->{compssUsersChoice}{$_} } keys %{$o->{compssUsersChoice}}));