From 7fdb2ee48a3b252427405ee304af46b211fd2b84 Mon Sep 17 00:00:00 2001
From: Nathan Jones <nathanj@insightbb.com>
Date: Sat, 15 Dec 2007 11:01:52 -0500
Subject: Check ignored packages in _alpm_sync_addtarget().

This will allow someone to install a group but ignore individual
packages inside the group.

Signed-off-by: Nathan Jones <nathanj@insightbb.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
---
 src/pacman/sync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pacman')

diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 5c539b85..00e8935f 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -584,7 +584,7 @@ static int sync_trans(alpm_list_t *targets, int sync_only)
 						alpm_list_t *k;
 
 						found++;
-						printf(_(":: group %s:\n"), targ);
+						printf(_(":: group %s (including ignored packages):\n"), targ);
 						/* remove dupe entries in case a package exists in multiple repos */
 						const alpm_list_t *grppkgs = alpm_grp_get_pkgs(grp);
 						alpm_list_t *pkgs = alpm_list_remove_dupes(grppkgs);
-- 
cgit v1.2.3-70-g09d2