diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-08 16:17:21 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-08 16:17:21 +0000 |
commit | c80608d6994d0f8bcaeca3a333588cb100b96e03 (patch) | |
tree | 9a838a48af61ce4c56a4eb618a49678ee5c43f0e /urpmi.removemedia | |
parent | bdbddec4a5a570a5fbcb631c270d20829510cd47 (diff) | |
download | urpmi-c80608d6994d0f8bcaeca3a333588cb100b96e03.tar urpmi-c80608d6994d0f8bcaeca3a333588cb100b96e03.tar.gz urpmi-c80608d6994d0f8bcaeca3a333588cb100b96e03.tar.bz2 urpmi-c80608d6994d0f8bcaeca3a333588cb100b96e03.tar.xz urpmi-c80608d6994d0f8bcaeca3a333588cb100b96e03.zip |
urpmi.removemedia should remove proxy settings too
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-x | urpmi.removemedia | 2 |
1 files changed, 2 insertions, 0 deletions
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 <name> 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}) { |