summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-15 18:41:02 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-15 18:41:02 +0000
commit438f653ba697f1e9c489954bcf96bbc710fdea54 (patch)
treed23f44427c1e570f0e553b6f120f793ae71a7ca7 /lib/libalpm/remove.c
parent518c333ee1dc466544e83afb5f382320bb0d0f3d (diff)
downloadpacman-438f653ba697f1e9c489954bcf96bbc710fdea54.tar.xz
Renamed PM_TRANS_CB_XXX to PM_TRANS_EVT_XXX
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index c53ffa4d..4a943b3c 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -72,7 +72,7 @@ int remove_prepare(pmdb_t *db, pmtrans_t *trans, PMList **data)
ASSERT(data != NULL, PM_RET_ERR(PM_ERR_WRONG_ARGS, -1));
if(!(trans->flags & (PM_TRANS_FLAG_NODEPS)) && (trans->type != PM_TRANS_TYPE_UPGRADE)) {
- TRANS_CB(trans, PM_TRANS_CB_DEPS_START, NULL, NULL);
+ TRANS_CB(trans, PM_TRANS_EVT_DEPS_START, NULL, NULL);
if((lp = checkdeps(db, trans->type, trans->packages)) != NULL) {
if(trans->flags & PM_TRANS_FLAG_CASCADE) {
@@ -99,7 +99,7 @@ int remove_prepare(pmdb_t *db, pmtrans_t *trans, PMList **data)
trans->packages = removedeps(db, trans->packages);
}
- TRANS_CB(trans, PM_TRANS_CB_DEPS_DONE, NULL, NULL);
+ TRANS_CB(trans, PM_TRANS_EVT_DEPS_DONE, NULL, NULL);
}
return(0);
@@ -120,7 +120,7 @@ int remove_commit(pmdb_t *db, pmtrans_t *trans)
info = (pmpkg_t*)targ->data;
if(trans->type != PM_TRANS_TYPE_UPGRADE) {
- TRANS_CB(trans, PM_TRANS_CB_REMOVE_START, info, NULL);
+ TRANS_CB(trans, PM_TRANS_EVT_REMOVE_START, info, NULL);
/* run the pre-remove scriptlet if it exists */
snprintf(pm_install, PATH_MAX, "%s%s/%s/%s-%s/install", handle->root, handle->dbpath, db->treename, info->name, info->version);
@@ -241,7 +241,7 @@ int remove_commit(pmdb_t *db, pmtrans_t *trans)
}
if(trans->type != PM_TRANS_TYPE_UPGRADE) {
- TRANS_CB(trans, PM_TRANS_CB_REMOVE_DONE, info, NULL);
+ TRANS_CB(trans, PM_TRANS_EVT_REMOVE_DONE, info, NULL);
alpm_logaction("removed %s (%s)", info->name, info->version);
}
}