summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS3
-rw-r--r--urpm/download.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0c6fecac..9f2cf62e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi:
+ o fix using proxy with curl (#38143)
+
Version 5.6 - 26 February 2008, by Pascal "Pixel" Rigaux
- urpmq:
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;
};