From ad691001e20272b794d2ed574b556f520e3555c0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 27 Jun 2007 22:12:59 -0400 Subject: 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 --- src/pacman/callback.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-24-g4f1b