index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Olivier Brunel <jjk@jjacky.com> | 2014-01-10 16:25:16 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-03 11:25:54 +1000 |
commit | 01cc55a1f47c99d3f296e710904b5f3fc31e0b1d (patch) | |
tree | 2e7336fe68a057544c4deb817460369de9eb0c60 /lib/libalpm/sync.c | |
parent | cd793c5ab7689cc8cbc18277375b368060e5acfe (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 3 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 076935d1..68c33243 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -977,12 +977,15 @@ static int download_files(alpm_handle_t *handle, alpm_list_t **deltas) event.type = ALPM_EVENT_RETRIEVE_START; EVENT(handle, &event); + event.type = ALPM_EVENT_RETRIEVE_DONE; for(i = files; i; i = i->next) { if(download_single_file(handle, i->data, cachedir) == -1) { errors++; + event.type = ALPM_EVENT_RETRIEVE_FAILED; _alpm_log(handle, ALPM_LOG_WARNING, _("failed to retrieve some files\n")); } } + EVENT(handle, &event); } finish: |