[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: %config(noreplace)
- From: Jos Vos <jos xos nl>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: %config(noreplace)
- Date: Thu, 3 Mar 2005 18:34:42 +0100
On Thu, Mar 03, 2005 at 12:06:41PM -0500, Lehman, Jason (Registrar's Office) wrote:
> How do I copy the file if it doesn't exist and not overlay it if it does
> exists?
>
> Or does rpm automatically handle that for you when you are do a
>
> install -m 755 start_apache $RPM_BUILD_ROOT%{_sysconfdir}/start_apache
Uhh... when you install in $RPM_BUILD_ROOT the file will *never*
exist, as that is done at *build* time and $RPM_BUILD_ROOT is an
initially empty, temporary directory.
I think you're mixing up things. The "%install" is done at build time,
at install time rpm unpacks the archive in an "intelligent" way, like
honouring %config(noreplace) tags that are preserved in the rpm archive.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]