From 01cc55a1f47c99d3f296e710904b5f3fc31e0b1d Mon Sep 17 00:00:00 2001 From: Olivier Brunel Date: Fri, 10 Jan 2014 16:25:16 +0100 Subject: Add events ALPM_EVENT_RETRIEVE_{DONE, FAILED} To go along with RETRIEVE_START, one other event will be emmitted once the downloads are done: RETRIEVE_DONE if all files were successfully downloaded, else RETRIEVE_FAILED. Signed-off-by: Olivier Brunel Signed-off-by: Allan McRae --- src/pacman/callback.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pacman') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index cd77a312..f512a5b4 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -300,6 +300,8 @@ void cb_event(alpm_event_t *event) case ALPM_EVENT_DELTA_INTEGRITY_DONE: case ALPM_EVENT_DELTA_PATCHES_DONE: case ALPM_EVENT_DISKSPACE_DONE: + case ALPM_EVENT_RETRIEVE_DONE: + case ALPM_EVENT_RETRIEVE_FAILED: /* nothing */ break; } -- cgit v1.2.3-70-g09d2