sync_prepare: ignore explicitly removed conflicts
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
1afddd74a9
commit
2330a64589
1 changed files with 3 additions and 0 deletions
|
@ -566,6 +566,9 @@ int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data)
|
|||
|
||||
/* if conflict->package2 (the local package) is not elected for removal,
|
||||
we ask the user */
|
||||
if(alpm_pkg_find(trans->remove, conflict->package2)) {
|
||||
found = 1;
|
||||
}
|
||||
for(j = trans->add; j && !found; j = j->next) {
|
||||
alpm_pkg_t *spkg = j->data;
|
||||
if(alpm_pkg_find(spkg->removes, conflict->package2)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue