[WBEL-users] More yum mirrors?
William Hooper
whooperhsd2@earthlink.net
Tue, 27 Apr 2004 19:22:07 -0400 (EDT)
Ed said:
> William Hooper wrote:
[snip]
>> Any changes
>> (and
>> I mean any) to the config file will make RPM leave it alone and create
>> an
>> *.rpmnew file.
>
> I don't think this is correct. I think if you upgrade the package and
> change the config file, RPM will use the new one instead. (Or is there
> a complication I am ignoring here?)
The SPEC file contains:
%config(noreplace) /etc/sysconfig/rhn/up2date
%config(noreplace) /etc/logrotate.d/up2date
%config(noreplace) /etc/sysconfig/rhn/sources
The "noreplace" overrides the default behavior.
--
William Hooper