11 Jan
2017
11 Jan
'17
10:18 a.m.
On 01/11/2017 12:01 PM, Tom Zander wrote:
I have not found out how pacman treats config files on upgrades, removes and reinstalls. The point here is that the config file should not be overwritten by the package version on upgrade, it should not be deleted when the package is deleted (and may be reinstalled just minutes later) etc. Only when its 100% identical to the one in the package can it safely be deleted / upgraded.
Maybe I didn’t look good enough, but I could not find out how to do the above. So I went for the safest solution.
man -P 'less -p backup' PKGBUILD -- Eli Schwartz