[csw-maintainers] GAR: Preprocessing a postinstall file

Ben Walton bwalton at opencsw.org
Sun Dec 20 13:30:59 CET 2009


Excerpts from Maciej (Matchek) Blizinski's message of Sun Dec 20 06:26:18 -0500 2009:

> - At which stage (fetch, extract, install, merge, package) does the
> expansion take place?

The scripts should be expanded into $(DOWNLOADDIR) during the extract
stage.

> - What if the pkgname contains a dash? Will "define
> CSWfoo-bar_postinstall" work?

That should still work.  The scripts are activated on seeing
variables named like $(PKG)_$(ADMSCRIPT), so the - shouldn't cause
problems.  Let me know if it does.

THanks
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20091220/71ebe7c2/attachment-0002.asc>


More information about the maintainers mailing list