From c80608d6994d0f8bcaeca3a333588cb100b96e03 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 8 Dec 2005 16:17:21 +0000 Subject: urpmi.removemedia should remove proxy settings too --- urpmi.removemedia | 2 ++ 1 file changed, 2 insertions(+) diff --git a/urpmi.removemedia b/urpmi.removemedia index fa54b53f..1630b162 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -24,6 +24,7 @@ use strict; use urpm; use urpm::msg; +use urpm::download; $ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"; delete @ENV{qw(ENV BASH_ENV IFS CDPATH)}; @@ -67,6 +68,7 @@ where is a medium name to remove. $options{verbose} > 0 or $urpm->{log} = sub {}; $urpm->read_config; + urpm::download::set_cmdline_proxy(); my @entries = map { $_->{name} } @{$urpm->{media}}; if ($options{all}) { -- cgit v1.2.1