diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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/) { |