summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 86d7a879d..a93d910f8 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1794,12 +1794,8 @@ sub disable_user_view() {
sub set_security {
my ($o) = @_;
- {
- local $ENV{DRAKX_PASSWORD} = $o->{bootloader}{password};
- local $ENV{DURING_INSTALL} = 1;
- security::level::set($o->{security});
- }
require security::various;
+ security::level::set($o->{security});
security::various::config_libsafe($::prefix, $o->{libsafe});
security::various::config_security_user($::prefix, $o->{security_user});
}