diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-03-04 00:29:08 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-04 04:57:02 +0100 |
commit | 2330a6458976f20e6039ddbb5a0e00ea939b392a (patch) | |
tree | dc949a9742945298c71df253481ef1cf8a7e45d2 /lib | |
parent | 1afddd74a978631ff4f15d450b96d66e7af1e768 (diff) | |
download | pacman-2330a6458976f20e6039ddbb5a0e00ea939b392a.tar.gz pacman-2330a6458976f20e6039ddbb5a0e00ea939b392a.tar.xz |
sync_prepare: ignore explicitly removed conflicts
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/sync.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 718f9af2..7e40d986 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -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)) { |