summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-01 23:02:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-01 23:02:02 +0000
commite3093b811019cc0467f38b744e12ec6871a8d17e (patch)
treecefa6f3f2bb0bf7bf5847ac4870fd8d0a2133e35 /perl-install/install_any.pm
parenta613dd1d2271b7733fb05c14ac52964f719f9fa6 (diff)
downloaddrakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar
drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar.gz
drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar.bz2
drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.tar.xz
drakx-e3093b811019cc0467f38b744e12ec6871a8d17e.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 9bb37a714..82ac04c82 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -412,14 +412,14 @@ sub write_ldsoconf {
sub setAuthentication {
my ($o) = @_;
- my ($shadow, $md5, $nis, $nis_server) = @{$o->{authentication} || {}}{qw(shadow md5 NIS NIS_server)};
+ my ($shadow, $md5, $nis) = @{$o->{authentication} || {}}{qw(shadow md5 NIS)};
my $p = $o->{prefix};
enableMD5Shadow($p, $shadow, $md5);
enableShadow() if $shadow;
if ($nis) {
$o->pkg_install("ypbind");
my $domain = $o->{netc}{NISDOMAIN};
- $domain || $nis_server ne "broadcast" or die _("Can't use broadcast with no NIS domain");
+ $domain || $nis ne "broadcast" or die _("Can't use broadcast with no NIS domain");
my $t = $domain ? "domain $domain" . ($nis_server ne "broadcast" && " server")
: "ypserver";
substInFile {