summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 3819c649e..52fa053ca 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -361,8 +361,13 @@ sub formatPartitions {
#------------------------------------------------------------------------------
sub choosePackages {
require pkgs;
+
+ #- always setPackages as it may have to copy hdlist files and depslist file.
+ $o->setPackages;
+
+ #- for the first time, select package to upgrade.
+ #- TOCHECK this may not be the best place for that as package are selected at some other point.
if ($_[1] == 1) {
- $o->setPackages;
$o->selectPackagesToUpgrade($o) if $o->{isUpgrade};
$o->{compssUsersChoice}{$_} = 1 foreach @{$o->{compssUsersSorted}}, 'Miscellaneous';