summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm2
-rw-r--r--urpm/main_loop.pm3
2 files changed, 4 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 6db6829a..35f3383a 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -320,7 +320,7 @@ Install packages according to each hash (remove, install or upgrade).
options:
test, excludepath, nodeps, noorder (unused), delta,
- callback_inst, callback_trans, callback_report_uninst,
+ callback_inst, callback_trans, callback_report_uninst, callback_uninst,
callback_open_helper, callback_close_helper,
post_clean_cache, verbose
(more options for trans->run)
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