[pacman-dev] CVS update of pacman-lib/lib/libalpm (deps.c)
Date: Thursday, March 1, 2007 @ 02:08:49 Author: aaron Path: /home/cvs-pacman/pacman-lib/lib/libalpm Modified: deps.c (1.72 -> 1.73) * Comment clarification --------+ deps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: pacman-lib/lib/libalpm/deps.c diff -u pacman-lib/lib/libalpm/deps.c:1.72 pacman-lib/lib/libalpm/deps.c:1.73 --- pacman-lib/lib/libalpm/deps.c:1.72 Thu Mar 1 02:03:05 2007 +++ pacman-lib/lib/libalpm/deps.c Thu Mar 1 02:08:48 2007 @@ -263,9 +263,10 @@ 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);
participants (1)
-
Aaron Griffin