diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-16 05:37:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-16 05:37:16 +0000 |
commit | a7e645b5dadc9908944e9a19c24b360de618dfc9 (patch) | |
tree | bf263f19f8ab3e0c4640d930a11254a7a204fd11 /perl-install | |
parent | e8da610175582ea7c0ac2a849a4aabba37a150e6 (diff) | |
download | drakx-a7e645b5dadc9908944e9a19c24b360de618dfc9.tar drakx-a7e645b5dadc9908944e9a19c24b360de618dfc9.tar.gz drakx-a7e645b5dadc9908944e9a19c24b360de618dfc9.tar.bz2 drakx-a7e645b5dadc9908944e9a19c24b360de618dfc9.tar.xz drakx-a7e645b5dadc9908944e9a19c24b360de618dfc9.zip |
better URLPREFIX parsing regexp (handle URLPREFIX = "http://leia")
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 63d4aa4fa..7de75d3f8 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -1082,7 +1082,7 @@ sub generate_automatic_stage1_params { my @ks; if ($o->{method} eq 'http') { - $ENV{URLPREFIX} =~ m!(http|ftp)://([^/:]+)(/.*)! or die; + $ENV{URLPREFIX} =~ m!(http|ftp)://([^/:]+)(.*)! or die; $method = $1; #- in stage1, FTP via HTTP proxy is available through FTP config, not HTTP @ks = (server => $2, directory => $3); } elsif ($o->{method} eq 'ftp') { |