I am tired of having to re-write, manually, all the *.rpmnew files that appear when I upgrade. Most of them don’t need to be diff’ed, in my case at least.
For example, I just diff the httpd.conf file and that’s it so, here’s a script to mv *.rpmnew to *:
find . -iname '*.rpmnew' | while read f; do mv -f $f ${f%.rpmnew}; done
Thanks zcat, from irc://freenode/fedora
Ok, there’s this new yum-merge-conf plugin in Fedora 7. This one takes care of it and I quote:
This yum plugin adds the “–merge-conf” command line option. With this option,
Yum will ask you what to do with config files which have changed on updating a
package.
– yum-merge-conf’s info