summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index 5b907716..502c70c4 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -69,9 +69,8 @@ sub sync_webfetch {
push @{$files{$1}}, $_;
}
if ($files{removable} || $files{file}) {
- eval {
- sync_file($options, @{$files{removable} || []}, @{$files{file} || []});
- };
+ my @l = map { analyse_url__file_if_local($_) } @{$files{removable} || []}, @{$files{file} || []};
+ eval { sync_file($options, @l) };
$urpm->{fatal}(10, $@) if $@;
delete @files{qw(removable file)};
}