index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:39 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:39 +1000 |
commit | 3189d3bc4a7b5f3e92db14256e307e9a58071b2a (patch) | |
tree | e26f0d2b6fa8e77307d19fc4a8cce5606e7ea79c /lib/libalpm/remove.c | |
parent | 39262acab6b956bbc4491d3b90e967a09828e732 (diff) |
-rw-r--r-- | lib/libalpm/remove.c | 8 |
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index ed9f2767..ec8ba119 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -147,7 +147,7 @@ int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data) } if(!(trans->flags & ALPM_TRANS_FLAG_NODEPS)) { - EVENT(trans, PM_TRANS_EVT_CHECKDEPS_START, NULL, NULL); + EVENT(trans, ALPM_TRANS_EVT_CHECKDEPS_START, NULL, NULL); _alpm_log(handle, ALPM_LOG_DEBUG, "looking for unsatisfied dependencies\n"); lp = alpm_checkdeps(handle, _alpm_db_get_pkgcache(db), trans->remove, NULL, 1); @@ -185,7 +185,7 @@ int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data) } if(!(trans->flags & ALPM_TRANS_FLAG_NODEPS)) { - EVENT(trans, PM_TRANS_EVT_CHECKDEPS_DONE, NULL, NULL); + EVENT(trans, ALPM_TRANS_EVT_CHECKDEPS_DONE, NULL, NULL); } return 0; @@ -378,7 +378,7 @@ int _alpm_remove_packages(alpm_handle_t *handle) snprintf(scriptlet, PATH_MAX, "%s%s-%s/install", _alpm_db_path(handle->db_local), pkgname, alpm_pkg_get_version(info)); - EVENT(trans, PM_TRANS_EVT_REMOVE_START, info, NULL); + EVENT(trans, ALPM_TRANS_EVT_REMOVE_START, info, NULL); _alpm_log(handle, ALPM_LOG_DEBUG, "removing package %s-%s\n", pkgname, alpm_pkg_get_version(info)); @@ -446,7 +446,7 @@ int _alpm_remove_packages(alpm_handle_t *handle) pkgname); } - EVENT(trans, PM_TRANS_EVT_REMOVE_DONE, info, NULL); + EVENT(trans, ALPM_TRANS_EVT_REMOVE_DONE, info, NULL); } /* run ldconfig if it exists */ |