From 006387828cbdd11e6307879ad27e9bb9409ca193 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 4 Nov 2007 09:47:21 -0600 Subject: Readd scriptlet logging that got lost in an earlier commit I broke scriptlet logging with ad691001e20272b794d2ed574b556f520e3555c0. Readd more or less what was there before, although it still needs a lot of work including hopefully rewriting it to a new event subsystem and having it log to a seperate file. Signed-off-by: Dan McGee --- src/pacman/callback.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 9b855e5e..ccc482f8 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -256,6 +256,9 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2) case PM_TRANS_EVT_DELTA_PATCH_FAILED: printf(_("failed.\n")); break; + case PM_TRANS_EVT_SCRIPTLET_INFO: + printf("%s", (char*)data1); + break; case PM_TRANS_EVT_PRINTURI: printf("%s/%s\n", (char*)data1, (char*)data2); break; -- cgit v1.2.3-70-g09d2