Prakash_Nara@xxxxxxxx wrote : > Is there an option in the spec file which will preserve(not remove) a > config file on an Uninstall? > > I know if I use the config(noreplace), the config file will not be > replaced or overwritten on Upgrade. > Example: > %files > %config(noreplace) /somedir/someconfigfile > > Thanks for any help. If a configuration file hasn't been changed, then it will be erased in all cases upon uninstall. If it has been changed, then it will be kept with the ".rpmsave" extension, and rpm will issue a warning about it, possibly only if it was config(noreplace). I'd need to test to be sure about that one :-) Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora Core release 1 (Yarrow) - Linux kernel 2.4.22-1.2132.nptl Load : 0.06 0.13 0.21 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list