Enable recursive/needed sync on SyncFirst
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
dd865d2981
commit
0903452032
1 changed files with 2 additions and 0 deletions
|
@ -964,6 +964,8 @@ int pacman_sync(alpm_list_t *targets)
|
||||||
FREELIST(targs);
|
FREELIST(targs);
|
||||||
targs = packages;
|
targs = packages;
|
||||||
config->flags = 0;
|
config->flags = 0;
|
||||||
|
config->flags |= ALPM_TRANS_FLAG_RECURSE;
|
||||||
|
config->flags |= ALPM_TRANS_FLAG_NEEDED;
|
||||||
config->op_s_upgrade = 0;
|
config->op_s_upgrade = 0;
|
||||||
} else {
|
} else {
|
||||||
FREELIST(packages);
|
FREELIST(packages);
|
||||||
|
|
Loading…
Add table
Reference in a new issue