summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-30 21:50:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-30 21:50:08 +0000
commit7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2 (patch)
treeb39f9f4f784ebea5ad352fd62c6125480c679bf4 /perl-install/install_steps_interactive.pm
parent5b074d5c8cfd6623a15f29c37e565ce41faa55fc (diff)
downloaddrakx-backup-do-not-use-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar
drakx-backup-do-not-use-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar.gz
drakx-backup-do-not-use-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar.bz2
drakx-backup-do-not-use-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar.xz
drakx-backup-do-not-use-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm18
1 files changed, 4 insertions, 14 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 0285fb95e..1d4eab9e3 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -135,7 +135,7 @@ are you ready to answer that kind of questions?"),
delete $o->{installClass};
} else {
my %c = (
- normal => _("Normal"),
+ normal => _("Workstation"),
developer => _("Development"),
server => _("Server"),
);
@@ -238,20 +238,10 @@ Continue at your own risk!"));
\&partition_table_raw::description,
[ install_any::find_root_parts($o->{hds}, $o->{prefix}) ]) or die "setstep exitInstall\n";
install_any::use_root_part($o->{fstab}, $p, $o->{prefix});
+ } elsif ($::expert) {
+ install_interactive::partition_with_diskdrake($o, $o->{hds});
} else {
- my %solutions = install_interactive::partitionWizard($o, $o->{hds}, $o->{fstab}, $o->{partitioning}{readonly});
- my @solutions = sort { $b->[0] <=> $a->[0] } values %solutions;
-
- my $level = $::beginner ? 2 : -9999;
- my @sol = grep { $_->[0] >= $level } @solutions;
- @solutions = @sol if @sol > 1;
-
- my $ok; while (!$ok) {
- my $sol = $o->ask_from_listf('', _("The DrakX Partitioning wizard found the following solutions:"), sub { $_->[1] }, \@solutions) or redo;
- eval { $ok = $sol->[2]->() };
- $ok &&= !$@;
- $@ and $o->ask_warn('', _("Partitioning failed: %s", $@));
- }
+ install_interactive::partitionWizard($o);
}
}