summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-24 13:19:40 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-24 13:19:40 +0000
commitd0975a4dc82a25a2f1e2105e9c405fcaf067bdfa (patch)
treea316b6b26c60105ff8d62140d59eb8b1b79cfe64 /urpmi.addmedia
parent4e3a4d308ebedc84d154d8c55e10f9eeb8d754fc (diff)
downloadurpmi-d0975a4dc82a25a2f1e2105e9c405fcaf067bdfa.tar
urpmi-d0975a4dc82a25a2f1e2105e9c405fcaf067bdfa.tar.gz
urpmi-d0975a4dc82a25a2f1e2105e9c405fcaf067bdfa.tar.bz2
urpmi-d0975a4dc82a25a2f1e2105e9c405fcaf067bdfa.tar.xz
urpmi-d0975a4dc82a25a2f1e2105e9c405fcaf067bdfa.zip
When invoking urpmi.addmedia with --proxy, save this proxy setting for
this particular new media. (bug 12483)
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 64d393de..41ffc424 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -232,6 +232,7 @@ sub main {
}
$urpm->add_medium($name, $url, $relative_hdlist, virtual => $options{virtual}, update => $options{update});
+ urpm::download::copy_cmd_line_proxy($name);
$urpm->update_media(%options, callback => \&urpm::download::sync_logger);
#- check creation of media (during update has been successfull)