summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-05-02 08:45:28 +0000
committerFrancois Pons <fpons@mandriva.com>2000-05-02 08:45:28 +0000
commitf80fa3b76df681f4dc2837cd2192247cfe2c0d7c (patch)
tree14e8254b8c2f5507fd9a9f37358e58512300d09a /perl-install/install_any.pm
parentf3807275cf85b2081526cbe1a0e559e183741af3 (diff)
downloaddrakx-backup-do-not-use-f80fa3b76df681f4dc2837cd2192247cfe2c0d7c.tar
drakx-backup-do-not-use-f80fa3b76df681f4dc2837cd2192247cfe2c0d7c.tar.gz
drakx-backup-do-not-use-f80fa3b76df681f4dc2837cd2192247cfe2c0d7c.tar.bz2
drakx-backup-do-not-use-f80fa3b76df681f4dc2837cd2192247cfe2c0d7c.tar.xz
drakx-backup-do-not-use-f80fa3b76df681f4dc2837cd2192247cfe2c0d7c.zip
*** empty log message ***
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 82ac04c82..371969337 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -420,11 +420,11 @@ sub setAuthentication {
$o->pkg_install("ypbind");
my $domain = $o->{netc}{NISDOMAIN};
$domain || $nis ne "broadcast" or die _("Can't use broadcast with no NIS domain");
- my $t = $domain ? "domain $domain" . ($nis_server ne "broadcast" && " server")
+ my $t = $domain ? "domain $domain" . ($nis ne "broadcast" && " server")
: "ypserver";
substInFile {
$_ = "#~$_" unless /^#/;
- $_ .= "$t $nis_server\n" if eof;
+ $_ .= "$t $nis\n" if eof;
} "$p/etc/yp.conf";
network::write_conf("$p/etc/sysconfig/network", $o->{netc});
}