mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-04 19:29:43 -05:00
* Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
Using the wrong variable in sortbydeps
This commit is contained in:
parent
c6a335501c
commit
5299115020
@ -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) {
|
for(l = alpm_pkg_get_provides(q); l; l = l->next) {
|
||||||
const char *provname = l->data;
|
const char *provname = l->data;
|
||||||
if(!strcmp(depend->name, provname)) {
|
if(!strcmp(depend->name, provname)) {
|
||||||
if(!_alpm_pkg_find(provname, tmptargs)) {
|
if(!_alpm_pkg_find(qname, tmptargs)) {
|
||||||
change = 1;
|
change = 1;
|
||||||
tmptargs = alpm_list_add(tmptargs, q);
|
tmptargs = alpm_list_add(tmptargs, q);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user