Avoid unnecessary calculations on %ghost %config
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 30 Aug 2012 12:44:29 +0000 (15:44 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 30 Aug 2012 12:44:29 +0000 (15:44 +0300)
commitf7f02fb6cbf0d048adb42acc9250868420f2d3e8
tree806ac46a016ef8e24194184c1211742421b73501
parent06242419afc67752d32fabd20ad5b81ff8fd2970
Avoid unnecessary calculations on %ghost %config

- If the replacing %config file is a %ghost, then we'll just leave whatever
  might be on disk alone.
- OTOH in the opposite case we probably *should* take backups, if the
  file exists on disk and is differs from the new non-ghost (but
  currently we take never take backups for %ghosts)
lib/rpmfi.c