summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-01 07:08:48 +0000
committerAaron Griffin <aaron@archlinux.org>2007-03-01 07:08:48 +0000
commitca139e985017652fa1d25b2ff8ac4a8ebbe4c648 (patch)
treeb062394e157e1a31349e20826b0404a66b8ac806 /lib/libalpm
parent3ebd125e1ad9abbf5fbcb4457adb8288750b379e (diff)
* Comment clarification
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/deps.c3
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);