From ca139e985017652fa1d25b2ff8ac4a8ebbe4c648 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 1 Mar 2007 07:08:48 +0000 Subject: * Comment clarification --- lib/libalpm/deps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-24-g4f1b