1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-04 11:19:46 -05:00

* Nagy Gabor <ngaba@petra.hos.u-szeged.hu>

Using the wrong variable in sortbydeps
This commit is contained in:
Aaron Griffin 2007-04-23 04:01:37 +00:00
parent c6a335501c
commit 5299115020

View File

@ -163,7 +163,7 @@ alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode)
for(l = alpm_pkg_get_provides(q); l; l = l->next) {
const char *provname = l->data;
if(!strcmp(depend->name, provname)) {
if(!_alpm_pkg_find(provname, tmptargs)) {
if(!_alpm_pkg_find(qname, tmptargs)) {
change = 1;
tmptargs = alpm_list_add(tmptargs, q);
}