summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/install.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 34cc385e..84c9620a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix installing delta rpms
+
Version 7.11 - 16 November 2012, by Thierry Vignaud
- library:
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,