[pacman-dev] [PATCH] Restore .pacsave file if present

Allan McRae mcrae_allan at hotmail.com
Sat May 10 11:20:08 EDT 2008

Allan McRae wrote:
> TODO:  Query users about restore
>        Remove .paccheck from file name in warning about .pacnew creation
>        Figure out why pactest upgrade025 now fails

This is the new output of upgrade025

Running 'upgrade025'
Upgrade a package, with a file leaving 'backup' but staying in the pkg
==> Generating test environment
==> Running test
==> Checking rules
    [ OK ] PKG_VERSION=dummy|1.0-2
    [FAIL] FILE_PACSAVE=etc/dummy.conf
    [ OK ] !FILE_PACNEW=etc/dummy.conf
    [ OK ] FILE_EXIST=etc/dummy.conf
==> Test result

So I broke something to do with pacsave files, which may be expected... 

More information about the pacman-dev mailing list