summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);