On 10/19/05, Devrim GUNDUZ <devrim@xxxxxxxxxx> wrote: > > Hi, > > I have a question regarding .rpmnew files. > > On one of my RPMs, we just added a new file , say /path/to/file, among > installed files. I want to be sure that if that file already exists, our > RPM will create a .rpmnew file instead of overwriting it. > > Could you please give me a clue? > Sure, In your %files use the %config(noreplace) attribute: %config(noreplace) /path/to/file ...james > Regards, > -- > Devrim GUNDUZ > Kivi Bilişim Teknolojileri - http://www.kivi.com.tr > devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr > http://www.gunduz.org > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list