[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: %config(noreplace)
- From: "Lehman, Jason \(Registrar's Office\)" <Jlehman admin usf edu>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: RE: %config(noreplace)
- Date: Thu, 3 Mar 2005 12:19:45 -0500
Or do you do the below thru shell scripting? Is there a website with
examples? I have been doing searches for create and replace but haven't
found anything yet.
-----Original Message-----
From: rpm-list-bounces redhat com [mailto:rpm-list-bounces redhat com]
On Behalf Of Lehman, Jason (Registrar's Office)
Sent: Thursday, March 03, 2005 12:07 PM
To: RPM Package Manager
Subject: RE: %config(noreplace)
Thanks for that info so that spawns a new question.
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
I thought it just overlaid the file.
-----Original Message-----
From: rpm-list-bounces redhat com [mailto:rpm-list-bounces redhat com]
On Behalf Of Jos Vos
Sent: Thursday, March 03, 2005 11:43 AM
To: RPM Package Manager
Subject: Re: %config(noreplace)
On Thu, Mar 03, 2005 at 11:38:09AM -0500, Lehman, Jason (Registrar's
Office) wrote:
> I thought you used %config(noreplace) to say if this file exists don't
> copy it over but I thought it also said if it doesn't exist create it.
This is all about when you *install* the package.
> But I got an error saying that the file doesn't exist in the location
> specified by the %config(noreplace) so I guess I am wrong.
This is an error you get when you *build* the package, at what time your
$RPM_BUILD_ROOT/etc/rc.d/init.d/start_apache of course should exist.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
_______________________________________________
Rpm-list mailing list
Rpm-list redhat com
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________
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]