diff options
author | Dan McGee <dan@archlinux.org> | 2007-11-04 16:47:21 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-04 18:27:41 +0100 |
commit | 006387828cbdd11e6307879ad27e9bb9409ca193 (patch) | |
tree | 1ec5af2ff1bb195684fe03f57d92ff96e897509b /src | |
parent | 2e51e28442e5af84d6e121acf3445f7d34c098be (diff) | |
download | pacman-006387828cbdd11e6307879ad27e9bb9409ca193.tar.gz pacman-006387828cbdd11e6307879ad27e9bb9409ca193.tar.xz |
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 <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/callback.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |