From 88a0df35ecab8270d6d4a735a6dbd94a5d70b50a Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Sun, 10 Mar 2002 15:15:14 +0000 Subject: gcize damienization --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 84abe01b0..c36d6589d 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -1001,7 +1001,7 @@ sub upNetwork { if (length($o->{prefix}) > 1) { symlinkf("$o->{prefix}/etc/$_", "/etc/$_") foreach (qw(resolv.conf protocols services)); } - $o->{method} eq "ftp" || $o->{method} eq "http" || $o->{method} eq "nfs" and return 1; + member($o->{method}, qw(ftp http nfs)) and return 1; modules::write_conf($o->{prefix}); if (hasNetwork($o)) { if ($o->{netcnx}{type} =~ /adsl|lan|cable/) { -- cgit v1.2.1