diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-12 14:51:01 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-12 17:45:45 +0100 |
commit | e654236db6b01d21cff7c850efedff183dd86b61 (patch) | |
tree | 4a7bd96678b2b6c50f8162bb9758cf480346aadc /lib/libalpm/remove.c | |
parent | 8ffa6fa7adf291b3dad822c459e1372a31af09f1 (diff) | |
download | pacman-e654236db6b01d21cff7c850efedff183dd86b61.tar.gz pacman-e654236db6b01d21cff7c850efedff183dd86b61.tar.xz |
don't send CHECKDEPS_DONE event when NODEPS is set.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r-- | lib/libalpm/remove.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 2f027951..be7b3eda 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -146,7 +146,9 @@ int _alpm_remove_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data) _alpm_recursedeps(db, trans->packages, 0); } - EVENT(trans, PM_TRANS_EVT_CHECKDEPS_DONE, NULL, NULL); + if(!(trans->flags & PM_TRANS_FLAG_NODEPS)) { + EVENT(trans, PM_TRANS_EVT_CHECKDEPS_DONE, NULL, NULL); + } return(0); } |