"post-install scripts"?

Charles Wilson cwilson@ece.gatech.edu
Wed Nov 7 13:21:00 GMT 2001

Jonathan Kamens wrote:

> I see several references in <URL:http://www.cygwin.com/setup.html> to
> post-install scripts for packages, and there have been several
> recent references here to such scripts as well.  I'm unclear about
> what this means in the context of Cygwin.  I know that in a RedHat
> RPM, for example, the post-install script is run automatically after
> the package is installed.  Is the same thing true here, i.e., is there
> some way to put a script into a Cygwin package that will be run
> automatically after the package is installed?  

Yep.  If the package contains a file /etc/postinstall/foo then that file 
will be executed after installation, and then renamed to foo.done 
afterwards.  (All *.done files are ignored).

> Or is what is being
> discussed here a script that the user needs to run by hand?



More information about the Cygwin-apps mailing list