diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-17 13:13:25 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-17 13:14:38 +0200 |
commit | 18670bc273165acfefd4ea1ee57cff3825a683d6 (patch) | |
tree | c752b73f7643b3b4a011626376327c5973685a32 /URPM.pm | |
parent | 945c545573aaf5eb99ee7485b894316815b433fb (diff) | |
download | perl-URPM-18670bc273165acfefd4ea1ee57cff3825a683d6.tar perl-URPM-18670bc273165acfefd4ea1ee57cff3825a683d6.tar.gz perl-URPM-18670bc273165acfefd4ea1ee57cff3825a683d6.tar.bz2 perl-URPM-18670bc273165acfefd4ea1ee57cff3825a683d6.tar.xz perl-URPM-18670bc273165acfefd4ea1ee57cff3825a683d6.zip |
fix callback parameters doc
should have been done along commit b5249dafb882fbc105f05853c80fd30503d57a3f
which reverted commit b0cd1853933d8c68610c9e173721525c6a17e8ce
Diffstat (limited to 'URPM.pm')
-rw-r--r-- | URPM.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -887,13 +887,13 @@ Recognized options are: They roughly correspond to command-line options to rpm(1). -'callback_open' signature is (C<$data>, C<$cb_type>, C<$pkg_id>, C<pkg_name>). It _must_ return a file handler for the asked package. +'callback_open' signature is (C<$data>, C<$cb_type>, C<$pkg_id>). It _must_ return a file handler for the asked package. -'callback_close' signature is (C<$data>, C<$cb_type>, C<$pkg_id>, C<pkg_name>). It is called just before URPM close the fd for the installed package. +'callback_close' signature is (C<$data>, C<$cb_type>, C<$pkg_id>). It is called just before URPM close the fd for the installed package. C<$cb_type> is one of 'open' or 'close'. -Other Callbacks signature is callback(C<$data>, C<$cb_type>, C<$pkg_id>, C<$subtype>, C<$amout>, C<$total>, C<pkg_name>) +Other Callbacks signature is callback(C<$data>, C<$cb_type>, C<$pkg_id>, C<$subtype>, C<$amout>, C<$total>) C<$cb_type> is one of 'elem', 'error', 'inst', 'trans' or 'uninst'. C<$subtype> can be 'start', 'progress' or 'stop'. For 'error', it can be 'cpio', 'script' or 'unpack'. |