mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
Using wrong variable for depend lookup in sortbydeps
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
c523d78358
commit
8e694dc40f
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user