From bbd00a59ec497f3915975684646c983597f8d6c0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 17 Nov 2012 16:44:02 +0000 Subject: (_schedule_packages) fix installing delta rpms got broken in commit r6466 on 2012-11-16: "(_apply_delta_rpm) split it out of _schedule_packages()" --- urpm/install.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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, -- cgit v1.2.1