Skip to content
  • Olivier Brunel's avatar
    libalpm: Search for replacers before literals · 017184fa
    Olivier Brunel authored and Allan McRae's avatar Allan McRae committed
    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: default avatarOlivier Brunel <i.am.jack.mail@gmail.com>
    Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
    017184fa