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

Robert Collins rbcollins@cygwin.com
Thu Oct 30 21:21:00 GMT 2003


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>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20031030/f08ee53f/attachment.sig>


More information about the Cygwin-apps mailing list