aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-01-29 17:56:21 +0000
committerThierry Vignaud <tv@mageia.org>2013-01-29 17:56:21 +0000
commit3ac8c4d5eabd6849813cec08675a1c93e9cede3b (patch)
tree0300df1890100b42a0fd687cb35832f6806b08be
parent31f847ff80562e1a47f4bc87565325243e1e2e3b (diff)
downloadperl-URPM-3ac8c4d5eabd6849813cec08675a1c93e9cede3b.tar
perl-URPM-3ac8c4d5eabd6849813cec08675a1c93e9cede3b.tar.gz
perl-URPM-3ac8c4d5eabd6849813cec08675a1c93e9cede3b.tar.bz2
perl-URPM-3ac8c4d5eabd6849813cec08675a1c93e9cede3b.tar.xz
perl-URPM-3ac8c4d5eabd6849813cec08675a1c93e9cede3b.zip
(rpmRunTransactions_callback) handle new RPMCALLBACK_INST_STOP
(redundant with INST_CLOSE_FILE...)
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index c6baa8a..95dc43a 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1241,6 +1241,7 @@ static void *rpmRunTransactions_callback(__attribute__((unused)) const void *h,
break;
case RPMCALLBACK_INST_START:
case RPMCALLBACK_INST_PROGRESS:
+ case RPMCALLBACK_INST_STOP:
callback = td->callback_inst;
callback_type = "inst";
break;
@@ -1278,6 +1279,7 @@ static void *rpmRunTransactions_callback(__attribute__((unused)) const void *h,
else
tprev = tcurr;
break;
+ case RPMCALLBACK_INST_STOP:
case RPMCALLBACK_TRANS_STOP:
case RPMCALLBACK_UNINST_STOP:
callback_subtype = "stop";