summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-09-05 15:14:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-09-05 15:14:40 +0000
commitc21e20134660ccb5855bac3f9287d7bd9073ebf9 (patch)
treedcfa80a6ac2198f23c0a577881b2a82061903c95 /perl-install/network/network.pm
parentadf4a072edd2d09dcc8bb2422355f63cb60ff54a (diff)
downloaddrakx-backup-do-not-use-c21e20134660ccb5855bac3f9287d7bd9073ebf9.tar
drakx-backup-do-not-use-c21e20134660ccb5855bac3f9287d7bd9073ebf9.tar.gz
drakx-backup-do-not-use-c21e20134660ccb5855bac3f9287d7bd9073ebf9.tar.bz2
drakx-backup-do-not-use-c21e20134660ccb5855bac3f9287d7bd9073ebf9.tar.xz
drakx-backup-do-not-use-c21e20134660ccb5855bac3f9287d7bd9073ebf9.zip
allow http://xxx for ftp_proxy
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 1db101f7b..d1f9da76b 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -390,7 +390,7 @@ sub miscellaneousNetwork {
],
complete => sub {
$u->{http_proxy} =~ m,^($|http://), or $in->ask_warn('', _("Proxy should be http://...")), return 1,0;
- $u->{ftp_proxy} =~ m,^($|ftp://), or $in->ask_warn('', _("Proxy should be ftp://...")), return 1,1;
+ $u->{ftp_proxy} =~ m,^($|ftp://|http://), or $in->ask_warn('', _("Url should begin with 'ftp:' or 'http:'")), return 1,1;
0;
}
) or return);