diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-03 13:31:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-03 13:31:37 +0000 |
commit | 94cfc57850981b85f9fc027621a3439e9d36eb9b (patch) | |
tree | 47c2b83cc6f5968824537933de69ac3c6a768cce /urpm.pm | |
parent | 20e09e364291f0b52f751c736282a790aad7442c (diff) | |
download | urpmi-94cfc57850981b85f9fc027621a3439e9d36eb9b.tar urpmi-94cfc57850981b85f9fc027621a3439e9d36eb9b.tar.gz urpmi-94cfc57850981b85f9fc027621a3439e9d36eb9b.tar.bz2 urpmi-94cfc57850981b85f9fc027621a3439e9d36eb9b.tar.xz urpmi-94cfc57850981b85f9fc027621a3439e9d36eb9b.zip |
create urpm::download::sync_url() and use it
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -280,7 +280,7 @@ sub register_rpms { my $basename = basename($_); unlink "$urpm->{cachedir}/partial/$basename"; $urpm->{log}(N("retrieving rpm file [%s] ...", $_)); - if (urpm::download::sync($urpm, undef, [$_], quiet => 1)) { + if (urpm::download::sync_url($urpm, $_, quiet => 1)) { $urpm->{log}(N("...retrieving done")); $_ = "$urpm->{cachedir}/partial/$basename"; } else { |