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: List-Archive: List-Post: List-Help: , 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 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 CC: cygwin-apps AT cygwin DOT com Subject: Re: "post-install scripts"? References: <20011116025247 DOT 11470 DOT qmail AT lizard DOT curl DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Jonathan Kamens wrote: > I see several references in 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