summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-01-27 09:58:46 +0000
committerFrancois Pons <fpons@mandriva.com>2003-01-27 09:58:46 +0000
commit7836b77d3119408fb80a6688b72c42e5f165e223 (patch)
tree0dc623abc232ea85e10c058ea0a122b53e85a133
parent956469a4858b8a4ce922edb979b70290f9a7e798 (diff)
downloadurpmi-7836b77d3119408fb80a6688b72c42e5f165e223.tar
urpmi-7836b77d3119408fb80a6688b72c42e5f165e223.tar.gz
urpmi-7836b77d3119408fb80a6688b72c42e5f165e223.tar.bz2
urpmi-7836b77d3119408fb80a6688b72c42e5f165e223.tar.xz
urpmi-7836b77d3119408fb80a6688b72c42e5f165e223.zip
4.2-12mdk
-rw-r--r--urpm.pm4
-rw-r--r--urpmi.spec5
2 files changed, 6 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index 135ebdcc..59d4531c 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -230,7 +230,7 @@ sub sync_wget {
(ref $options && $options->{limit_rate} ? ("--limit-rate=$options->{limit_rate}") : ()),
(ref $options && $options->{proxy} ? set_proxy({type => "wget", proxy => $options->{proxy}}) : ()),
(ref $options && $options->{callback} ? ("--progress=bar:force", "-o", "-") :
- ref $options && $options->{quiet} ? ("-q") : ("")),
+ ref $options && $options->{quiet} ? ("-q") : ()),
"--retr-symlinks", "-NP",
(ref $options ? $options->{dir} : $options), @_;
local $/ = \1; #- read input by only one char, this is slow but very nice (and it works!).
@@ -318,7 +318,7 @@ sub sync_curl {
my ($buf, $file) = ('', undef);
open CURL, "-|", "/usr/bin/curl",
(ref $options && $options->{limit_rate} ? ("--limit-rate", $options->{limit_rate}) : ()),
- (ref $options && $options->{proxy} && set_proxy({type => "curl", proxy => $options->{proxy}})),
+ (ref $options && $options->{proxy} ? set_proxy({type => "curl", proxy => $options->{proxy}}) : ()),
(ref $options && $options->{quiet} && !$options->{verbose} ? ("-s") : ()), "-R", "-f", "--stderr", "-",
@all_files;
local $/ = \1; #- read input by only one char, this is slow but very nice (and it works!).
diff --git a/urpmi.spec b/urpmi.spec
index 3abd8bac..4a471833 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 4.2
-Release: 11mdk
+Release: 12mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
@@ -205,6 +205,9 @@ fi
%changelog
+* Mon Jan 27 2003 François Pons <fpons@mandrakesoft.com> 4.2-12mdk
+- fixed stupid typo using curl.
+
* Fri Jan 24 2003 François Pons <fpons@mandrakesoft.com> 4.2-11mdk
- add --limit-rate option to urpmi, urpmi.addmedia and
urpmi.update.