summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-22 12:07:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-22 12:07:32 +0000
commit176cb9b3a99b06cabfdd3b72e324548dfdab0b2b (patch)
tree820600ada562b9be790edc6596a89e21b343514f /perl-install/install_steps_interactive.pm
parentc07ef58d38178c5149ad0bd227929d2f3f6523bc (diff)
downloaddrakx-backup-do-not-use-176cb9b3a99b06cabfdd3b72e324548dfdab0b2b.tar
drakx-backup-do-not-use-176cb9b3a99b06cabfdd3b72e324548dfdab0b2b.tar.gz
drakx-backup-do-not-use-176cb9b3a99b06cabfdd3b72e324548dfdab0b2b.tar.bz2
drakx-backup-do-not-use-176cb9b3a99b06cabfdd3b72e324548dfdab0b2b.tar.xz
drakx-backup-do-not-use-176cb9b3a99b06cabfdd3b72e324548dfdab0b2b.zip
don't ask security level in non-expert
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index da7d576cd..527bed9f9 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1237,7 +1237,9 @@ try to force installation even if that destroys the first partition?"));
sub miscellaneous {
my ($o, $clicked) = @_;
- any::choose_security_level($o, \$o->{security}, \$o->{libsafe}) or return;
+ if ($::expert) {
+ any::choose_security_level($o, \$o->{security}, \$o->{libsafe}) or return;
+ }
install_steps::miscellaneous($o);
}