diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-10 08:26:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-10 08:26:09 +0000 |
commit | 1bfb0aff7a80c8476f999cd8a0d83edb80baf10e (patch) | |
tree | e3c40d59ce03eb6f8a0b76c20681c12486992bfc /urpm/download.pm | |
parent | cef435e78585d423f7fdf87d5333c85c32e22557 (diff) | |
download | urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar.gz urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar.bz2 urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar.xz urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.zip |
do not use netrc for protocol ssh
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 25de2046..9b2c464d 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -628,7 +628,7 @@ sub requested_ftp_http_downloader { sub parse_url_with_login { my ($url) = @_; - $url =~ m!([^:]*)://([^/:\@]*)(:([^/:\@]*))?\@([^/]*)(.*)! && + $url =~ m!([^:]*)://([^/:\@]*)(:([^/:\@]*))?\@([^/]*)(.*)! && $1 ne 'ssh' && { proto => $1, login => $2, password => $4, machine => $5, dir => $6 }; } sub url_obscuring_password { |