[csw-maintainers] GAR: Preprocessing a postinstall file

Dagobert Michelsen dam at opencsw.org
Sat Dec 12 08:05:26 CET 2009


Hi Maciej,

Am 12.12.2009 um 02:27 schrieb Maciej (Matchek) Blizinski:
> 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?

The natural place for this is in post-install-modulated.
However, you may also do it during post-merge or in a
custom-merge rule doing substitute-copy in one step.


Best regards

   -- Dago



More information about the maintainers mailing list