summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 283fc877..fde09cdb 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -213,7 +213,7 @@ sub _schedule_packages {
$pkg->update_header($mode->{$_}, keep_all_tags => 1);
my ($true_rpm, $true_pkg);
if ($pkg->payload_format eq 'drpm') { #- handle deltarpms
- ($true_rpm, $true_pkg) = _apply_delta_rpm($urpm, $_, $mode, $pkg);
+ ($true_rpm, $true_pkg) = _apply_delta_rpm($urpm, $mode->{$_}, $mode, $pkg);
push @produced_deltas, ($mode->{$_} = $true_rpm); #- fix path
}
if ($trans->add($true_pkg || $pkg, update => $update,