diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 2 |
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); } }, |