diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2016-02-03 08:23:41 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-21 17:10:11 +1000 |
commit | fd936c9e732348ed754087576d67d1b2fe04afd4 (patch) | |
tree | f84112e4add9fde9dc369850c054e4ba4021fcd1 /test/pacman/tests/remove001.py | |
parent | 169287e494a5348687260a00697be06b36ba4434 (diff) |
only remove pacnew file if it is new
Check if we overwrote an exiting pacnew file before unlinking it.
Otherwise, updating to a version with an unchanged file would delete
existing pacnew files.
FS#47993
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/remove001.py')
0 files changed, 0 insertions, 0 deletions