xbps-bin: there's no need to add objs in inverted order for -R.
This commit is contained in:
parent
cb4e2199f3
commit
f27b7557bc
@ -158,8 +158,7 @@ xbps_remove_installed_pkgs(int argc,
|
|||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
/* in reverse order */
|
/* in reverse order */
|
||||||
x = prop_array_count(orphans);
|
for (x = 0; x < prop_array_count(orphans); x++)
|
||||||
while (x--)
|
|
||||||
prop_array_add(sorted_pkgs, prop_array_get(orphans, x));
|
prop_array_add(sorted_pkgs, prop_array_get(orphans, x));
|
||||||
|
|
||||||
prop_object_release(orphans);
|
prop_object_release(orphans);
|
||||||
|
Loading…
Reference in New Issue
Block a user