This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "post-install scripts"?




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?


Nope.

--Chuck



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]