diff options
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 2499ace8..9c292b23 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -792,10 +792,17 @@ sub sync_url { sync($urpm, undef, [$url], %options); } +#- deprecated, use sync_url() or sync_rel() instead +#- #- $medium can be undef #- known options: quiet, resume, callback sub sync { my ($urpm, $medium, $files, %options) = @_; + _sync_raw($urpm, $medium, $files, %options); +} + +sub _sync_raw { + my ($urpm, $medium, $files, %options) = @_; my $files_text = join(' ', map { url_obscuring_password($_) } @$files); $urpm->{debug} and $urpm->{debug}(N("retrieving %s", $files_text)); |