diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-27 18:40:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-27 18:40:05 +0000 |
commit | 42c53d9d96f4c9691d0216c3beb92a8258edec20 (patch) | |
tree | 271e39e412d374086d6ab30abeb3288da58530f8 /urpm | |
parent | cd8afebffcca47b25bd5ca8e30f2b3c8ae823a0a (diff) | |
download | urpmi-42c53d9d96f4c9691d0216c3beb92a8258edec20.tar urpmi-42c53d9d96f4c9691d0216c3beb92a8258edec20.tar.gz urpmi-42c53d9d96f4c9691d0216c3beb92a8258edec20.tar.bz2 urpmi-42c53d9d96f4c9691d0216c3beb92a8258edec20.tar.xz urpmi-42c53d9d96f4c9691d0216c3beb92a8258edec20.zip |
{removable} is no more
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/download.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 058b2abd..63847ca7 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -773,8 +773,8 @@ sub _sync_webfetch_raw { my $proto = urpm::protocol_from_url($_) or die N("unknown protocol defined for %s", $_); push @{$files{$proto}}, $_; } - if ($files{removable} || $files{file}) { - my @l = map { urpm::file_from_local_url($_) } @{$files{removable} || []}, @{$files{file} || []}; + if ($files{file}) { + my @l = map { urpm::file_from_local_url($_) } @{$files{file} || []}; eval { sync_file($options, @l) }; $urpm->{fatal}(10, $@) if $@; delete @files{qw(removable file)}; |