summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-27 15:21:55 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-27 15:21:55 +0000
commitcefc28f5ae7b03d7dd0486b980c53d8db9288f26 (patch)
tree15bec7632ec71ab40116eda757eb005516128369
parent7d5cabb1bff1de399401b4d04b27ad6c568b64bc (diff)
downloadurpmi-cefc28f5ae7b03d7dd0486b980c53d8db9288f26.tar
urpmi-cefc28f5ae7b03d7dd0486b980c53d8db9288f26.tar.gz
urpmi-cefc28f5ae7b03d7dd0486b980c53d8db9288f26.tar.bz2
urpmi-cefc28f5ae7b03d7dd0486b980c53d8db9288f26.tar.xz
urpmi-cefc28f5ae7b03d7dd0486b980c53d8db9288f26.zip
Remove obsolete code
-rw-r--r--urpm/args.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 9fe53476..d5dac68c 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -92,7 +92,6 @@ my %options_spec = (
my ($proxy, $port) = $value =~ m,^(?:http://)?([^:/]+(:\d+)?)/*$,
or die N("bad proxy declaration on command line\n");
$proxy .= ":1080" unless $port;
- $urpm->{proxy}{http_proxy} = "http://$proxy/"; #- obsolete, for compat
urpm::download::set_cmdline_proxy(http_proxy => "http://$proxy/");
},
'proxy-user=s' => sub {
@@ -101,7 +100,6 @@ my %options_spec = (
urpm::download::set_cmdline_proxy(ask => 1);
} else {
$value =~ /(.+):(.+)/ or die N("bad proxy declaration on command line\n");
- @{$urpm->{proxy}}{qw(user pwd)} = ($1, $2); #- obsolete, for compat
urpm::download::set_cmdline_proxy(user => $1, pwd => $2);
}
},