diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-17 13:31:36 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-17 14:20:03 +0200 |
commit | 8950f76df2193940d7ceec65b4885e1d0d3ca558 (patch) | |
tree | 4ebd58a03a3374808177d988d9f88612d3860373 | |
parent | e362e6dd5d9a64c44a720a4686c18085066e054a (diff) | |
download | urpmi-8950f76df2193940d7ceec65b4885e1d0d3ca558.tar urpmi-8950f76df2193940d7ceec65b4885e1d0d3ca558.tar.gz urpmi-8950f76df2193940d7ceec65b4885e1d0d3ca558.tar.bz2 urpmi-8950f76df2193940d7ceec65b4885e1d0d3ca558.tar.xz urpmi-8950f76df2193940d7ceec65b4885e1d0d3ca558.zip |
document open_helper()/close_helper() signatures
-rw-r--r-- | urpm/install.pm | 14 |
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} |