diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-11-04 11:43:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-11-04 11:43:37 +0000 |
commit | d6c8ec3396892efdcca89818aebf86b4db7a98b2 (patch) | |
tree | 754250868fbc291ef3da52e0fc20313d4609adc1 /perl-install/install_steps.pm | |
parent | a798005111cd26966def46196afea3264e835bd2 (diff) | |
download | drakx-d6c8ec3396892efdcca89818aebf86b4db7a98b2.tar drakx-d6c8ec3396892efdcca89818aebf86b4db7a98b2.tar.gz drakx-d6c8ec3396892efdcca89818aebf86b4db7a98b2.tar.bz2 drakx-d6c8ec3396892efdcca89818aebf86b4db7a98b2.tar.xz drakx-d6c8ec3396892efdcca89818aebf86b4db7a98b2.zip |
(is_network_install) use it whenever possible
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index f47cc8c8a..eba9df7a5 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -1003,7 +1003,7 @@ sub network_is_cheap { sub upNetwork { my ($o, $b_pppAvoided) = @_; - member($o->{method}, qw(ftp http nfs)) and return 1; + install_any::is_network_install($o) and return 1; $o->{modules_conf}->write; if (hasNetwork($o)) { if (network_is_cheap($o)) { @@ -1029,7 +1029,7 @@ sub upNetwork { sub downNetwork { my ($o, $costlyOnly) = @_; - $o->{method} eq "ftp" || $o->{method} eq "http" || $o->{method} eq "nfs" and return 1; + install_any::is_network_install($o) and return 1; $o->{modules_conf}->write; if (hasNetwork($o)) { if (!$costlyOnly) { |