Ensure package removal list does not contain duplicates
commit110eb314f0d8b4d28b9ff68ddd5bb5b07a1f8407
authorDan McGee <dan@archlinux.org>
Mon, 21 Mar 2011 13:59:59 +0000 (21 08:59 -0500)
committerDan McGee <dan@archlinux.org>
Mon, 21 Mar 2011 13:59:59 +0000 (21 08:59 -0500)
tree2a07d3d67d5baa9db6f4b4eaa2f43822a0bea559
parent834ba4da932f9e196e06baf724e0bd379092ded5
Ensure package removal list does not contain duplicates

Noticed with the openoffice/libreoffice replacement scheme where many
packages are listed as replacements to one package, thus electing it for
removal multiple times. Ensure a given package is not already present
before placing it in the removal list.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/sync.c