summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorMandrake <mandrake@mandriva.com>2007-01-21 19:45:29 +0000
committerMandrake <mandrake@mandriva.com>2007-01-21 19:45:29 +0000
commit0decf5401ecd2e2f58229ddad57b667d383b4f55 (patch)
treeac81feffd58961eaa3a6b6737688790b206280dc /urpm.pm
parent6fb768ba606f6adaeec4e6ff4757e7449d75bec0 (diff)
downloadurpmi-0decf5401ecd2e2f58229ddad57b667d383b4f55.tar
urpmi-0decf5401ecd2e2f58229ddad57b667d383b4f55.tar.gz
urpmi-0decf5401ecd2e2f58229ddad57b667d383b4f55.tar.bz2
urpmi-0decf5401ecd2e2f58229ddad57b667d383b4f55.tar.xz
urpmi-0decf5401ecd2e2f58229ddad57b667d383b4f55.zip
%repsys markrelease
version: 1.0.2 release: 1mdv2007.1 revision: 111485 Copying 1.0.2-1mdv2007.1 to releases/ directory.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 8c4d6de4..b9cad615 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -189,9 +189,7 @@ sub read_config_add_passwords {
foreach (values %$config) {
my $u = parse_url_with_login($_->{url}) or next;
if (my ($e) = grep { ($_->{default} || $_->{machine} eq $u->{machine}) && $_->{login} eq $u->{login} } @netrc) {
- warn "was $_->{url} ", %$u, "\n";
$_->{url} = sprintf('%s://%s:%s@%s%s', $u->{proto}, $u->{login}, $e->{password}, $u->{machine}, $u->{dir});
- warn "url is now $_->{url}\n";
} else {
$urpm->{log}("no password found for $u->{login}@$u->{machine}");
}