diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-04-12 22:26:14 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-06-03 13:33:47 +1000 |
commit | cbbd3781c249c8318934fe0810a09546c2760f53 (patch) | |
tree | 8cdbfbdef89f5a4a58f8c62878c85ddf13f537a9 /build-aux | |
parent | 47762ab687959e48acc2de8592fcf3ba3cfa502b (diff) |
improve dir->file transition conflict resolution
Packages removed due to conflicts are always removed at the beginning of
the transaction and as such can be included in the check for whether all
owners of a directory will be removed in a transaction. Installed
versions of packages being upgraded, other than the one with the
conflict, cannot be used because our transaction ordering is not
intelligent enough to ensure that they are removed prior to the
installation of the conflicted package.
Also, return false from dir_belongsto_pkgs on errors. Previously, we
simply continued which could return true even if we were unable to
actually establish that the package owned the entire tree.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions