summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
};