Use correct file state for colored file replacements
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Aug 2011 11:04:28 +0000 (14:04 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Aug 2011 11:04:28 +0000 (14:04 +0300)
commit25e68ab6e28ba3a167ea77924c8c752564d79fab
tree97900a8ee6ee49d4d06329554ea5fb1e03eaac08
parent5ee6b23f573bfeafbc56f78c698622b35932b2c2
Use correct file state for colored file replacements

- On colored file conflict resolution, the non-preferred colored
  file state would depend on installation order: if non-preferred
  arch is installed first, and the preferred arch in another
  transaction, the non-preferred color would get marked "replaced"
  indicating a forced install when none was used. This fixes
  the file state in such cases to "wrong color" to be consistent
  of the other installation scenarios.
lib/psm.c
lib/rpmfs.c
lib/rpmfs.h
lib/transaction.c