Subject: Re: coding numeric UID in config file
To: None <tech-pkg@netbsd.org>
From: Geert Hendrickx <ghen@telenet.be>
List: tech-pkg
Date: 08/04/2007 00:48:16
On Fri, Aug 03, 2007 at 09:53:42AM -0400, Johnny C. Lam wrote:
> You want to do it at POST-INSTALL. Don't manage that example config
> file via a CONF_FILES. Instead, do your own management where you do sed
> replacement in the config file template and compare-and-copy to the
> final location. For example, something like the following untested code:
That will probably work, but it duplicates code (or at least functionality)
which I'd prefer to avoid. Preferably the POST-INSTALL script should run
before the CONF_FILES handling. Are there any INSTALL scripts that depend
on the current ordering anyway?
Geert