[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: About creating .rpmnew files
- From: James Olin Oden <james oden gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: About creating .rpmnew files
- Date: Wed, 19 Oct 2005 14:41:17 -0400
On 10/19/05, Devrim GUNDUZ <devrim gunduz org> 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 redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]