Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-11 01:05:49 -0500
committerDan McGee <dan@archlinux.org>2011-08-11 11:36:50 -0500
commit09034520325efcc2e684f05fa7a99c02bad1f5be (patch)
tree0c3d310117cb038742799408b28ba6d01b234ef6 /src
parentdd865d298146ef77effb2110d7db172b3bffe9b0 (diff)
Enable recursive/needed sync on SyncFirst
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index f4f8fc43..7b50d805 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);