From d70465decc617412db0670c8169ec22421c8e3d1 Mon Sep 17 00:00:00 2001 From: Bryan Ischo Date: Mon, 9 Mar 2009 10:05:10 +1300 Subject: Remove duplicates from the unresolvable list before prompting user Signed-off-by: Bryan Ischo Signed-off-by: Dan McGee --- lib/libalpm/sync.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 85a07554..e6923abe 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -392,6 +392,7 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync /* If there were unresolvable top-level packages, prompt the user to see if they'd like to ignore them rather than failing the sync */ if(unresolvable != NULL) { + unresolvable = alpm_list_remove_dupes(unresolvable); int remove_unresolvable = 0; QUESTION(handle->trans, PM_TRANS_CONV_REMOVE_PKGS, unresolvable, NULL, NULL, &remove_unresolvable); -- cgit v1.2.3-70-g09d2