Re: vim-minimal updates saves /etc/vimrc.rpmnew

[email protected] Thu, 23 Dec 2004 18:51:55 +0100 (CET)
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>
On Thu, 23 Dec 2004, Bogdan Costescu wrote:

> On Thu, 23 Dec 2004 [email protected] wrote:
>
>> warning: /etc/vimrc created as /etc/vimrc.rpmnew
>
> This file is marked in the SPEC as a configuration file. In order to
> preserve modifications to the original file that might have been done
> locally, the new configuration file is created with a different name.

sure but how is this different from al other rpm's ?
today i installed a new server with tao
did yum update
and only vim-minimal wrote the config in .rpmnew

shouldn't it compare the files ?
and only save them to .rpmnew if the files are not rpm original ?

> Therefore, if you'd have modified /etc/vimrc, even after installing
> the update, it would still use the settings that you have changed and
> not the default settings.
> The files are indeed the same as they are both the original ones; if
> you'd have modified /etc/vimrc before installing the update, the 2
> files would have been different.
>
>