summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-09 18:01:16 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-09 18:01:16 +0000
commitbbda7d7c0a3198011ce33833e54a59aa93872909 (patch)
tree1616cd37d9e9021e2e7653a93f133133d6c465b1
parent57f894d164f151d866323f3fcc583b2b1d2642d0 (diff)
downloadurpmi-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
-rw-r--r--NEWS3
-rw-r--r--urpm/install.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9f81fbbc..2fd38c71 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- change installer API (in order to fix detecting whether installing ackages
+ succedded or not)
+
Version 6.22.3 - 5 March 2009
- urpmi
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;
};