diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-09 18:01:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-09 18:01:16 +0000 |
commit | bbda7d7c0a3198011ce33833e54a59aa93872909 (patch) | |
tree | 1616cd37d9e9021e2e7653a93f133133d6c465b1 /urpm/install.pm | |
parent | 57f894d164f151d866323f3fcc583b2b1d2642d0 (diff) | |
download | urpmi-bbda7d7c0a3198011ce33833e54a59aa93872909.tar urpmi-bbda7d7c0a3198011ce33833e54a59aa93872909.tar.gz urpmi-bbda7d7c0a3198011ce33833e54a59aa93872909.tar.bz2 urpmi-bbda7d7c0a3198011ce33833e54a59aa93872909.tar.xz urpmi-bbda7d7c0a3198011ce33833e54a59aa93872909.zip |
(install) change 'close_helper' callback API for installer (in order to fix
detecting whether installing ackages succedded or not)
this doesn't impact anything since this is a freshly added callback used only
by drakx
Diffstat (limited to 'urpm/install.pm')
-rw-r--r-- | urpm/install.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index 7d385965..c57688b6 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -234,7 +234,7 @@ sub install { $options{callback_close} = sub { my ($urpm, undef, $pkgid) = @_; return unless defined $pkgid; - $options{callback_close_helper} and $options{callback_close_helper}->(@_); + $options{callback_close_helper} and $options{callback_close_helper}->($db, @_); get_README_files($urpm, $trans, $urpm->{depslist}[$pkgid]); close $fh if defined $fh; }; |