delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/04/16:51:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 4 Aug 2000 16:49:20 -0400
Message-Id: <200008042049.QAA20353@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: john DOT turner AT pobox DOT com
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <398B2C07.156FD229@pobox.com> (john.turner@pobox.com)
Subject: Re: setup source?
References: <398B2C07 DOT 156FD229 AT pobox DOT com>

> is the source for setup available?  I'd like to investigate the
> possibility of modifying it to give the user the choice of whether
> to install ash or bash as sh

Yup.  Get the winsup (cygwin) sources, and look in winsup/cinstall/*

I have a suggestion: if ash isn't installed, /bin/sh should be a
symlink to /bin/bash.  This should be something bash does upon
installation (via /etc/postinstall/bash-is-sh.sh), and once setup
gives the user the option of not installing everything (the chooser
I'm working on) then the right configuration will happen based on what
the user chooses to install (or has installed), not based on yet
another dialog box.

Note: /etc/setup/installed.db has a list of installed packages.

However, it does sound like setup needs to look to see which shells
are installed and customize the cygwin.bat file to run the right one,
as well as the installed /etc/profile.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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