summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-03-10 15:15:14 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-03-10 15:15:14 +0000
commit88a0df35ecab8270d6d4a735a6dbd94a5d70b50a (patch)
tree1fb86ee5b29429dd6172b4aece61b3268410bc92 /perl-install
parent291ece821b35b228a1c3eb310a08185f779dcc74 (diff)
downloaddrakx-88a0df35ecab8270d6d4a735a6dbd94a5d70b50a.tar
drakx-88a0df35ecab8270d6d4a735a6dbd94a5d70b50a.tar.gz
drakx-88a0df35ecab8270d6d4a735a6dbd94a5d70b50a.tar.bz2
drakx-88a0df35ecab8270d6d4a735a6dbd94a5d70b50a.tar.xz
drakx-88a0df35ecab8270d6d4a735a6dbd94a5d70b50a.zip
gcize damienization
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm2
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/) {