diff options
author | Dan McGee <dan@archlinux.org> | 2007-06-28 04:12:59 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-28 04:12:59 +0200 |
commit | ad691001e20272b794d2ed574b556f520e3555c0 (patch) | |
tree | 03936c85dc0ce627bad177a5b250d661d9d95978 /src | |
parent | 1e56e41d638fcdddc291d9a8ea183b40f4802aae (diff) | |
download | pacman-ad691001e20272b794d2ed574b556f520e3555c0.tar.gz pacman-ad691001e20272b794d2ed574b556f520e3555c0.tar.xz |
Remove scriptlet START and DONE commands that we don't use
The scriptlet calling had some unneeded complexity for the time being
which we aren't using here. Let's get rid of it until we find a good way
to implement it correctly.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/callback.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 607d6329..9c1f05d1 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -237,20 +237,6 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2) case PM_TRANS_EVT_INTEGRITY_DONE: printf(_("done.\n")); break; - case PM_TRANS_EVT_SCRIPTLET_INFO: - printf("%s\n", (char*)data1); - break; - case PM_TRANS_EVT_SCRIPTLET_START: - printf((char*)data1); - printf("..."); - break; - case PM_TRANS_EVT_SCRIPTLET_DONE: - if(!(long)data1) { - printf(_("done.\n")); - } else { - printf(_("failed.\n")); - } - break; case PM_TRANS_EVT_PRINTURI: printf("%s/%s\n", (char*)data1, (char*)data2); break; |