From 8950f76df2193940d7ceec65b4885e1d0d3ca558 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 17 Sep 2018 13:31:36 +0200 Subject: document open_helper()/close_helper() signatures --- urpm/install.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 for callback parameters +There's 2 callbacks that are specific to C 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 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} -- cgit v1.2.1