summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-16 09:03:16 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-16 09:03:16 +0000
commitf4ba56915b3bc0c1b286265c08c41c9bca6687c2 (patch)
tree66c7dc7b5d0b8ea82f653afd942b54c22962c1d2 /urpm/main_loop.pm
parent725a05e33713f34c92c86bae92b65cbe7a78bddb (diff)
downloadurpmi-f4ba56915b3bc0c1b286265c08c41c9bca6687c2.tar
urpmi-f4ba56915b3bc0c1b286265c08c41c9bca6687c2.tar.gz
urpmi-f4ba56915b3bc0c1b286265c08c41c9bca6687c2.tar.bz2
urpmi-f4ba56915b3bc0c1b286265c08c41c9bca6687c2.tar.xz
urpmi-f4ba56915b3bc0c1b286265c08c41c9bca6687c2.zip
really enable callers to pass their own callback for erasure progress
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index d4864431..0eba7a27 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -221,6 +221,7 @@ sub _init_common_options {
callback_inst => $callbacks->{inst},
callback_open_helper => $callbacks->{open_helper},
callback_trans => $callbacks->{trans},
+ callback_uninst => $callbacks->{uninst},
callback_report_uninst => $callbacks->{callback_report_uninst},
raw_message => 1,
);
@@ -412,6 +413,8 @@ Parameters:
=item trans() called for transaction opening/progress/end
+=item uninst(): called for erasure progress
+
=item error() called for cpio, script or unpacking errors
=item callback_report_uninst(): called for erasure progrses