diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2007-07-20 10:22:36 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-20 10:34:28 -0400 |
commit | b0c064d59b8786a1e169e305a263fc13e2d7ed32 (patch) | |
tree | 02349781823247b107aa25cff8140f78c17b8b7a /src | |
parent | 5991e85abb22e32385f6925cf5a6db97a76623f7 (diff) | |
download | pacman-b0c064d59b8786a1e169e305a263fc13e2d7ed32.tar.xz |
libalpm/sync.c : fix DEPENDSONLY flag handling.
I didn't like the patch proposed by Nagy for the sync1002 pactest here:
http://www.archlinux.org/pipermail/pacman-dev/2007-July/008971.html
So here is another attempt of fixing it.
In case of the DEPENDSONLY flag :
1) pass an empty list to resolvedeps instead of the list of targets
2) empty the trans->packages targets list before adding the resolved deps.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions