diff options
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-10-17 11:16:27 +0200 |
---|---|---|
committer | Xavier Chantry <chantry.xavier@gmail.com> | 2011-01-29 19:33:16 +0100 |
commit | 4a72c0964abc4b4836c2aafb9c59716299215802 (patch) | |
tree | 440b821dd0995ee011bbf0f7a15e3b7cebb45042 /lib/libalpm/be_sync.c | |
parent | 953e0d48d7e6e3703bdaccef4ec2a8bbdbe460ed (diff) | |
download | pacman-4a72c0964abc4b4836c2aafb9c59716299215802.tar.gz pacman-4a72c0964abc4b4836c2aafb9c59716299215802.tar.xz |
pacman/upgrade: switch to new interface
Note that there is a behavior change here : if the same package name
appeared several times in the target list, the alpm_add_target interface
chooses the new package, while alpm_add_pkg returns PKG_DUP.
I don't see why we cannot unify the behavior of -S and -U, and just
choose one behavior that applies to both.
Otherwise, it's always possible to handle these different behaviors in
the frontend, it just requires more work.
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Diffstat (limited to 'lib/libalpm/be_sync.c')
0 files changed, 0 insertions, 0 deletions