Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com From: Chris Faylor Date: Thu, 13 Jul 2000 18:26:07 -0400 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: new setup.exe in cvs! Message-ID: <20000713182607.F7997@cygnus.com> Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin-developers AT sourceware DOT cygnus DOT com References: <200007111805 DOT OAA02322 AT envy DOT delorie DOT com> <12tmms0q9ff43hqdukairos23ga27421rl AT 4ax DOT com> <200007111938 DOT PAA02935 AT envy DOT delorie DOT com> <0rumms8bd6f5g2aip0hh75hhe2vki9o84l AT 4ax DOT com> <200007112102 DOT RAA03615 AT envy DOT delorie DOT com> <20000711220845 DOT B31687 AT cygnus DOT com> <200007121635 DOT MAA21003 AT envy DOT delorie DOT com> <20000712135224 DOT B2568 AT cygnus DOT com> <200007132058 DOT QAA26680 AT envy DOT delorie DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200007132058.QAA26680@envy.delorie.com>; from dj@delorie.com on Thu, Jul 13, 2000 at 04:58:09PM -0400 On Thu, Jul 13, 2000 at 04:58:09PM -0400, DJ Delorie wrote: > >> On Wed, Jul 12, 2000 at 12:35:09PM -0400, DJ Delorie wrote: >> >I've checked in a patch to setup that moves the mkgroup/mkpasswd stuff >> >into /etc/postinstall/*.sh, and added support to /etc/profile to run - >> >once - any script found as /etc/postinstall/*.sh. I also only do the >> >mkgroup/mkpasswd stuff if the install happens on NT. >> >> I still don't understand why you'd put this burden on bash. If things >> need to be setup shouldn't setup be doing the setup? > >OK, this is where it's at now: > >* Setup will look for /etc/passwd and /etc/group, and create its own > postinstall/*.bat to create whatever's missing. > >* setup will look for /etc/postinstall/*.sh, and run each with > whatever shell it can find (sh, else bash), if any shell can be > found at all. These scripts are renamed to