transaction_sort: if curdep == curpkg don't do any sorting, it's sorted already.
This commit is contained in:
parent
9349e5fc40
commit
0385812a5a
@ -236,6 +236,11 @@ again:
|
||||
if (pkgdepidx < curpkgidx) {
|
||||
xbps_dbg_printf_append(xhp, "already sorted.\n");
|
||||
pkgdep_release(lpd);
|
||||
} else if (pd == pdn) {
|
||||
/*
|
||||
* Processing same pkg, just continue.
|
||||
*/
|
||||
xbps_dbg_printf_append(xhp, "already sorted.\n");
|
||||
} else {
|
||||
/*
|
||||
* Remove package dependency from list and move
|
||||
|
Loading…
Reference in New Issue
Block a user