summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-28 19:50:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-28 19:50:35 +0000
commit54410dc53bd985c6a7a0eb4942004880eaed7c9d (patch)
tree5d824b28ee2f4e03c2c5d41fef1b5e2cc536f501 /perl-install/install_steps.pm
parente94ae685f0dea15ec01eabfb18e671eb1a4ecb9e (diff)
downloaddrakx-backup-do-not-use-54410dc53bd985c6a7a0eb4942004880eaed7c9d.tar
drakx-backup-do-not-use-54410dc53bd985c6a7a0eb4942004880eaed7c9d.tar.gz
drakx-backup-do-not-use-54410dc53bd985c6a7a0eb4942004880eaed7c9d.tar.bz2
drakx-backup-do-not-use-54410dc53bd985c6a7a0eb4942004880eaed7c9d.tar.xz
drakx-backup-do-not-use-54410dc53bd985c6a7a0eb4942004880eaed7c9d.zip
- use $::prefix in any::get_secure_level()
- fix any::get_secure_level() not using prefix when it should
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 8154b2f93..989fcba41 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -934,7 +934,7 @@ sub miscellaneousBefore {
my %s = getVarsFromSh("$o->{prefix}/etc/sysconfig/system");
$o->{miscellaneous}{HDPARM} = $s{HDPARM} if exists $s{HDPARM};
- $o->{security} ||= any::get_secure_level($o->{prefix}) || ($o->{meta_class} =~ /server|firewall/ ? 3 : 2);
+ $o->{security} ||= any::get_secure_level() || ($o->{meta_class} =~ /server|firewall/ ? 3 : 2);
log::l("security $o->{security}");