Re: Announcing yum-merge-conf, a yum plugin to merge configuration files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 10:57 AM -0500 3/13/07, Rex Dieter wrote:
>Tony Nelson wrote:
>
>> At 7:52 AM +0100 3/13/07, Aurelien Bompard wrote:
>>>Neal Becker wrote:
>>>> This sounds great!  I haven't looked at the code yet.
>>>
>>>It's pretty trivial, you'll see
>>>
>>>> Will it also ignore cases when the new config hasn't actually changed,
>>>> and
>>>> silently remove the redundant copy?  That would be really great.
>>>
>>>If RPM created a copy, it means something has changed.
>> 
>> One would think so, but no, not always.  Vim's rpm is one offender
>> (retyped):
>> 
>>     # ls /etc/vimrc*
>>     /etc/vimrc  /etc/vimrc.rpmnew
>>     # diff /etc/vimrc*
>
>timestamp, owner, permissions?

(retyped):

    # ll /etc/vimrc*
    -rw-r--r-- 1 root root 1473 Nov 15 21:59 /etc/vimrc
    -rw-r--r-- 1 root root 1473 Mar  9  2006 /etc/vimrc.rpmnew
    #

OK, so maybe it's not still doing it there.  But this one looks more
promising (I hope):

    # ll /etc/profile.d/krb*
    -rwxr-xr-x 1 root root 218 Jan  9 15:03 /etc/profile.d/krb5.csh
    -rwxr-xr-x 1 root root 218 Jan  9 15:03 /etc/profile.d/krb5.csh.rpmnew
    -rwxr-xr-x 1 root root 229 Jan  9 15:03 /etc/profile.d/krb5.sh
    -rwxr-xr-x 1 root root 229 Jan  9 15:03 /etc/profile.d/krb5.sh.rpmnew
    # diff /etc/profile.d/krb*.csh*
    # diff /etc/profile.d/krb*.sh*
    #
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux