[csw-maintainers] GAR: Preprocessing a postinstall file

Philip Brown phil at bolthole.com
Sat Dec 12 02:58:43 CET 2009


On Fri, Dec 11, 2009 at 5:27 PM, Maciej (Matchek) Blizinski
<maciej at opencsw.org> wrote:
> Suppose I have a file CSWfoo.postinstall, which has some variables
> which need to be substituted before the file can be shipped.
> Something along the lines of:
>
> mycommand=@bindir@/foo
>
> Is it possible to preprocess a postinstall file like that?  At which
> stage should it be done?


its impossible to answer that without you specifying where the data to
be substituted, comes *from*.


More information about the maintainers mailing list