diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-09 18:05:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-09 18:05:27 +0000 |
commit | 08837240e8063a5cee53867f165a479423b3b732 (patch) | |
tree | 8dc2856ddd7be0ce178973cad897e0945487d01c /perl-install/install/pkgs.pm | |
parent | 52564bd15230e67a3cb300f06507fc4578864c03 (diff) | |
download | drakx-08837240e8063a5cee53867f165a479423b3b732.tar drakx-08837240e8063a5cee53867f165a479423b3b732.tar.gz drakx-08837240e8063a5cee53867f165a479423b3b732.tar.bz2 drakx-08837240e8063a5cee53867f165a479423b3b732.tar.xz drakx-08837240e8063a5cee53867f165a479423b3b732.zip |
(_install_raw) use new urpmi API in order to fix detecting whether installing
packages succedded or not (especially usefull for building ones)
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 87b1b88ad..f85a5f571 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -733,7 +733,7 @@ sub _install_raw { my $exit_code = urpm::main_loop::run($packages, $packages->{state}, undef, undef, undef, { open_helper => $callback, close_helper => sub { - my ($packages, $_type, $id) = @_; + my ($db, $packages, $_type, $id) = @_; &$callback; my $pkg = defined $id && $packages->{depslist}[$id] or return; my $check_installed; |