Further tweak the config file removal/backup logic to make it clearer
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 12 Apr 2012 14:27:24 +0000 (17:27 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 12 Apr 2012 14:27:24 +0000 (17:27 +0300)
commitfbe424f202b32a42bed599739a687ce5bfebe92f
treebef353bc9880c1d68dcecd41165622208fb71b60
parentb013a139d2a68033aa25cd27af457dc7129c73a0
Further tweak the config file removal/backup logic to make it clearer

- Turn the strange negated condition around: when dealing with
  config files test for it directly. This way, all the special
  cases are handled first and normal cases fall through the if-jungle
  to exactly one case of rpmfsSetAction(fs, i, FA_ERASE). Makes
  the logic more obvious, at least to me.
lib/transaction.c