Re: About creating .rpmnew files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

On Wed, 19 Oct 2005, James Olin Oden wrote:

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

Thanks a lot. That did it.

BTW, While looking for details for noreplace, I found another macro:

%ghost

What's that exactly?

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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux