diff options
author | Olivier Brunel <i.am.jack.mail@gmail.com> | 2013-03-04 09:48:10 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-03-07 15:38:47 +1000 |
commit | 017184fab55b22c1efd8a7d6d6d832ca302d8e15 (patch) | |
tree | 29b1122d2a50ab708c7f320a06ece004bca39edf /lib/libalpm/remove.c | |
parent | 1b39653e9624db98c2e707a1991bc32bb26f2b67 (diff) | |
download | pacman-017184fab55b22c1efd8a7d6d6d832ca302d8e15.tar.xz |
libalpm: Search for replacers before literals
Since 882bff36 literals would be searched before replacers, resulting in a
package being replaced by another not actually being replaced under certain
conditions (e.g. they're both in the same repo).
This change effectively reversed the expectations in test sync132. This patch
switches the order back to replacers first, thus making sure if a package is
replacing another one, the change will always happen, even if both are in the
same repo.
Note that a package replacing another one in a repo with higher priority will
not be done, see FS#11737 and test sync1105
Signed-off-by: Olivier Brunel <i.am.jack.mail@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
0 files changed, 0 insertions, 0 deletions