www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/15/22:13:55

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3BF482E0.5040407@ece.gatech.edu>
Date: Thu, 15 Nov 2001 22:07:12 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Jonathan Kamens <jik AT curl DOT com>
CC: cygwin-apps AT cygwin DOT com
Subject: Re: "post-install scripts"?
References: <20011116025247 DOT 11470 DOT qmail AT lizard DOT curl DOT com>


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019