This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should --sysconfdir=/etc/defaults/etc/?


On Fri, 2003-10-31 at 01:43, Gary R. Van Sickle wrote:
> Current packaging instructions at http://cygwin.com/setup.html#package_contents
> indicate that --sysconfdir should be set to "/etc".  Should this perhaps be
> changed to "/etc/defaults/etc", with the subsequent instruction that if your
> package actually has anything in sysconfdir, it should conditionally copy it to
> /etc if it doesn't already exist with a postinstall script[1]?

No. Programs built with /etc/defaults/etc may depend on their files
being there in use. However, having the defaults installed into 
/etc/defaults/etc is a good idea.

> [1] Setup wishlist item: Somehow tag files like this and integrate "replace if
> not exist else ask user if he wants to replace" functionality into setup,
> eliminating the need for disparate shell scripts and their possible disparate
> bugs.

Yah - thats one of the TODO's already, as both dpkg and rpm 'know about'
config files.

Rob
-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]