Clean up exclusion list in sync cache cleanup
commitf619bc61f562d0dd08c502787347b31601f89be8
authorDan McGee <dan@archlinux.org>
Thu, 12 Jul 2012 19:00:44 +0000 (12 14:00 -0500)
committerDan McGee <dan@archlinux.org>
Wed, 1 Aug 2012 14:14:40 +0000 (1 09:14 -0500)
treefafd52913d3673a1131a592a364ebc24cb9e5b64
parentcc6fb2e8a78e6d0ca9bfc778298b1dc095af7db4
Clean up exclusion list in sync cache cleanup

Make an array out of our various glob skip patterns and loop through
them looking for items to skip. Additionally, when doing a full clean,
delete all objects rather than respect this skip list.

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