mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
Remove PM_TRANS_EVT_EXTRACT_START.
This event was unused, was missing the equivalent EXTRACT_DONE event, and was useless because we already have ADD / UPGRADE START and DONE events. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
b262ddb2ed
commit
1cca4ef764
@ -806,7 +806,6 @@ static int commit_single_pkg(pmpkg_t *newpkg, int pkg_current, int pkg_count,
|
||||
PROGRESS(trans, PM_TRANS_PROGRESS_ADD_START,
|
||||
alpm_pkg_get_name(newpkg), 100, pkg_count, pkg_current);
|
||||
}
|
||||
EVENT(trans, PM_TRANS_EVT_EXTRACT_DONE, NULL, NULL);
|
||||
|
||||
/* run the post-install script if it exists */
|
||||
if(alpm_pkg_has_scriptlet(newpkg)
|
||||
|
@ -334,8 +334,6 @@ typedef enum _pmtransevt_t {
|
||||
* to the callback, respectively.
|
||||
*/
|
||||
PM_TRANS_EVT_UPGRADE_DONE,
|
||||
/** Package was extracted. */
|
||||
PM_TRANS_EVT_EXTRACT_DONE,
|
||||
/** Target package's integrity will be checked. */
|
||||
PM_TRANS_EVT_INTEGRITY_START,
|
||||
/** Target package's integrity was checked. */
|
||||
|
@ -226,7 +226,6 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2)
|
||||
break;
|
||||
/* all the simple done events, with fallthrough for each */
|
||||
case PM_TRANS_EVT_FILECONFLICTS_DONE:
|
||||
case PM_TRANS_EVT_EXTRACT_DONE:
|
||||
case PM_TRANS_EVT_CHECKDEPS_DONE:
|
||||
case PM_TRANS_EVT_RESOLVEDEPS_DONE:
|
||||
case PM_TRANS_EVT_INTERCONFLICTS_DONE:
|
||||
|
Loading…
Reference in New Issue
Block a user