summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 8a774076..a79c7d2d 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -329,6 +329,20 @@ options:
See L<URPM> for callback parameters
+There's 2 callbacks that are specific to C<urpm::install> though:
+
+=over
+
+=item * open_helper($data, $type, $id)
+
+=item * close_helper($db, $data, $type, $id)
+
+=back
+
+Those are called when opening/closing a package file, whether when rpmlib verify or install packages.
+
+The C<close_helper> callback receives an extra $db parameter used in eg: drakx to check whether a package really was installed through a DB query.
+
=cut
#- side-effects: uses a $urpm->{readmes}