View Single Post
  #4   (View Single Post)  
Old 17th May 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Quote:
Originally Posted by thirdm View Post
Thanks. Sounds like I can do more or less what I want without fearing my changes will get clobbered.
What happens to config files when upgrading a package is something like this. If the new file differs from the existing one, it will be saved in the directory with an extension .new . Such files are something to look out for, because they need to be dealt with.

If you never modified the existing file, and there is a .new version, you can just move it over because that's got changes from the upgrade. (You could, of course, review the differences to be sure you're OK with them.)

If you did modify the existing file, then you'll probably want to merge your changes into the .new file and use the result to replace the original file. Unless the .new file is the same as the _SRC file, where you can just delete the .new file.

Last edited by IdOp; 17th May 2013 at 08:40 PM.
Reply With Quote