summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-15 19:44:29 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-15 19:44:29 +0000
commit405fee60d1e1137611dae9783ae370563c901967 (patch)
treee6178c064c6908a7aef5df4ade4454aed99def22 /perl-install/standalone
parent6e1499a56590006f2a11ab711804fee205311c36 (diff)
downloaddrakx-405fee60d1e1137611dae9783ae370563c901967.tar
drakx-405fee60d1e1137611dae9783ae370563c901967.tar.gz
drakx-405fee60d1e1137611dae9783ae370563c901967.tar.bz2
drakx-405fee60d1e1137611dae9783ae370563c901967.tar.xz
drakx-405fee60d1e1137611dae9783ae370563c901967.zip
no_comment
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksec2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 8877501b5..753d61603 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -11,7 +11,7 @@ local $_ = join '', @ARGV;
/-h/ and die "usage: draksec [--expert]\n";
-$::expert = /--expert/;
+$::expert = /--expert/ || cat_("/etc/sysconfig/system") =~ /^TYPE=.*expert/;
$::isStandalone = 1;
my $in = vnew interactive('su');