On Sat, Apr 10, 2004 at 05:45:28PM +0100, AliN wrote: > This is to avoid over-writing the old of config files which are already > installed by previous rpm instillation. > What I Mean that when I use rpm to upgrade I don't want the rpm copy the > config files if ther are ready there. > But putting %config does not work and when I upgrade the program are copied. > What I am doing wrong and how I can I prevent the config files to installed > when upgrading "%config" does install the new config files, but saves the old config files with the .rpmsave suffix (when the old config file was changed). "%config(noreplace)" will leave the old config files in place and will install the new config file as .rpmnew. I guess this is what you are looking for. Cheers, -- -- Jos Vos <jos@xxxxxx> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list