summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-07 18:22:59 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-07 18:22:59 +0000
commit6464e06a167852a46ee51a27badb635415a56539 (patch)
treeb18d3ee6a36340d74a5905c155f60916d1f7a215 /perl-install
parent9177dce7f6cfbff349253c02e67df3733d8c4c50 (diff)
downloaddrakx-backup-do-not-use-6464e06a167852a46ee51a27badb635415a56539.tar
drakx-backup-do-not-use-6464e06a167852a46ee51a27badb635415a56539.tar.gz
drakx-backup-do-not-use-6464e06a167852a46ee51a27badb635415a56539.tar.bz2
drakx-backup-do-not-use-6464e06a167852a46ee51a27badb635415a56539.tar.xz
drakx-backup-do-not-use-6464e06a167852a46ee51a27badb635415a56539.zip
added option to only upgrade packages.
Diffstat (limited to 'perl-install')
-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 f0ec6960d..bde969d1e 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -141,6 +141,7 @@ sub selectInstallClass {
if ($o->{isUpgrade}) {
@{$o->{orderedSteps}} = map { /setupSCSI/ ? ($_, "doPartitionDisks") : $_ }
grep { !/doPartitionDisks/ } @{$o->{orderedSteps}};
+ $o->{keepConfiguration} and @{$o->{orderedSteps}} = grep { !/selectMouse|selectKeyboard|miscellaneous|setRootPassword|addUser|configureNetwork|installUpdates|summary|configureServices|configureX/ } @{$o->{orderedSteps}};
my $s; foreach (@{$o->{orderedSteps}}) {
$s->{next} = $_ if $s;
$s = $o->{steps}{$_};