[pacman-dev] [PATCH 2/2] Enable recursive/needed sync on SyncFirst

Dan McGee dan at archlinux.org
Thu Aug 11 02:06:27 EDT 2011


Signed-off-by: Dan McGee <dan at archlinux.org>
---
 src/pacman/sync.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index f4f8fc4..7b50d80 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -964,6 +964,8 @@ int pacman_sync(alpm_list_t *targets)
 					FREELIST(targs);
 					targs = packages;
 					config->flags = 0;
+					config->flags |= ALPM_TRANS_FLAG_RECURSE;
+					config->flags |= ALPM_TRANS_FLAG_NEEDED;
 					config->op_s_upgrade = 0;
 				} else {
 					FREELIST(packages);
-- 
1.7.6



More information about the pacman-dev mailing list