summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-26 11:10:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-26 11:10:16 +0000
commit3dc5e96eacd4cc03b754f973bfb38e6559be3d47 (patch)
treece78485edb1de4cacfdc913af99c10436d781638 /urpm
parent77cf70f0dedb25e978f7eaf311c92ed063f3ed2d (diff)
downloadurpmi-3dc5e96eacd4cc03b754f973bfb38e6559be3d47.tar
urpmi-3dc5e96eacd4cc03b754f973bfb38e6559be3d47.tar.gz
urpmi-3dc5e96eacd4cc03b754f973bfb38e6559be3d47.tar.bz2
urpmi-3dc5e96eacd4cc03b754f973bfb38e6559be3d47.tar.xz
urpmi-3dc5e96eacd4cc03b754f973bfb38e6559be3d47.zip
- urpmi:
o fix using proxy with curl (#38143)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/download.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 29a0275e..058b2abd 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -179,6 +179,7 @@ sub set_proxy {
push @res, ('-x', $_->{ftp_proxy}) if defined $_->{ftp_proxy};
push @res, ('-U', "$_->{user}:$_->{pwd}")
if defined $_->{user} && defined $_->{pwd};
+ push @res, '-H', 'Pragma:' if @res;
}
last;
};