On 30/08/05, Jerry Turba <[EMAIL PROTECTED]> wrote: > As I understand the process etc-update lists new configuration files > provided by the program authors. I have tried to define some rules for > myself to determine how to handle these new files. > > 1. If I made a change to a file I will never allow the new config file > to overwrite the old file.
This isn't really a good idea. There are definitely cases where the new file will provide important updates that you need. Not updating the config file could lead to the associated program no longer working or you missing out on a useful feature. Using etc-update, select the file you have changed and look at the differences. You may see that other than the changes you made, there are only updates to comments within the file. In this case you can of course just ignore the update. If there are real updates and your own update looks as though it is still valid then use the "Interactively merge original with update" option. You can then choose which lines to include in the new file. The left hand side of the diff output is the original file, the right hand side is the new. So for each line presented, apart from for the lines that you have modified, input "r" to choose the right hand side line. For the lines you changed, input "l" to choose your version. Always verify the resulting file with "Show differences between merged file and original" before selecting the "Replace YOUR_FILE with merged file" option. All just my opinion of course... Cheers, Roger -- gentoo-user@gentoo.org mailing list