On 2015-04-10 14:23, Eduardo M KALINOWSKI wrote:
On Sex, 10 Abr 2015, Jeroen Massar wrote:
Though indeed simpler than commenting out multiple lines, that file also gets replaced by a package upgrade.
Hence does not solve the 'can just upgrade silently' issue.
If the file is unchanged then, yes, it gets replaced on upgrades. If it has local changes, however, you'll get a prompt asking what you want to do (keep your changes or use the package version). So while it fails you "upgrade silently" requirement, you'll not automatically loose the changes you've made.
That is correct, though as I don't want to ever be asked about such things, I am looking for a nicer solution and suggested the 'enabled = false' option for these kind of situations.
One does not want to manually approve such changes on every box one runs, can be quite a few of them ;)
Greets, Jeroen