diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-01 07:08:48 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-01 07:08:48 +0000 |
commit | ca139e985017652fa1d25b2ff8ac4a8ebbe4c648 (patch) | |
tree | b062394e157e1a31349e20826b0404a66b8ac806 /lib/libalpm/deps.c | |
parent | 3ebd125e1ad9abbf5fbcb4457adb8288750b379e (diff) | |
download | pacman-ca139e985017652fa1d25b2ff8ac4a8ebbe4c648.tar.xz |
* Comment clarification
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r-- | lib/libalpm/deps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index cab37636..0e90c0ef 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -263,9 +263,10 @@ alpm_list_t *_alpm_checkdeps(pmtrans_t *trans, pmdb_t *db, pmtranstype_t op, pmpkg_t *pkg = l->data; if(strcmp(pkg->name, oldpkg->name) == 0) { - /* well, we know this one fails... skip it */ + /* well, we know this one succeeds, but we're removing it... skip it */ continue; } + if(_alpm_depcmp(pkg, &depend)) { _alpm_log(PM_LOG_DEBUG, _("checkdeps: dependency '%s' satisfied by installed package '%s'"), depend.name, pkg->name); |