diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2007-09-01 14:12:39 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-09-02 16:33:46 +0200 |
commit | aef1c88f3bbfb2ec14c3cdc3914686f121e4d7d5 (patch) | |
tree | 7f58e84a1d0c99667ee88d4ecbaf4aaef3be3f10 /lib/libalpm/error.c | |
parent | 788fcee0dc191e19c116671cea5d92ab321e2615 (diff) | |
download | pacman-aef1c88f3bbfb2ec14c3cdc3914686f121e4d7d5.tar.gz pacman-aef1c88f3bbfb2ec14c3cdc3914686f121e4d7d5.tar.xz |
libalpm/remove.c : avoid duplicated packages in removal list.
Suppose a package foo depends on foo1, foo2, ..., foon.
Doing pacman -Rc foo1 foo2 ... foon added foo n times to the removal list,
because what checkdeps return is something like :
foo1 is requiredby foo
foo2 is requiredby foo
...
foon is requiredby foo
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
0 files changed, 0 insertions, 0 deletions