delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/13/14:50:21

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
X-Authentication-Warning: abomination.cygnus.com: mdejong owned process doing -bs
Date: Thu, 13 Apr 2000 12:50:29 -0700 (PDT)
From: Mo DeJong <mdejong AT cygnus DOT com>
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: setup + directories
In-Reply-To: <20000413140325.A13789@cygnus.com>
Message-ID: <Pine.LNX.4.10.10004131240100.27536-100000@abomination.cygnus.com>
MIME-Version: 1.0

On Thu, 13 Apr 2000, Chris Faylor wrote:

Why not just rm -rf C:\Cygwin instead of playing around with individual
files and directories?

> I added code in the uninstall phase to detect directories and for good measure
> added things like bin\cygwin.bat, \tmp, \usr\local, \usr\local\lib, and \usr\local\bin
> to the list of directories which uninst will try to remove.

Yeah.

> I also added /usr/local/bin to the path, as Mo suggested.

There is yet another HUGE problem with the uninstall script. It is TOO
easy to use. I start bash up a lot using the windows menu, and I
accidently clicked the uninstall menu option when I just wanted to start
a shell. This one simple click in the wrong spot uninstalled cygwin
from my box (Yeouch). We need to add something like this to
the top of the uninstall bat.

The following script will completely uninstall Cygwin from your machine.
If you would like to continue please type "yes" at the prompt:

(they should be forced to actually type "yes" and hit enter to continue)

Another option is to add an entry to the standard Windows list
of programs (the one you can access from Add/Remove Programs).
If the uninstall .bat file was launched from there, I think that
would be the best approach, but I have no idea how much work
that would be.

Mo DeJong
Red Hat Inc.

> The uninstall is still not really robust.  If the tar file does not actually
> create the directory, uninst does not try to remove it.  It would be nice
> to add the intermediate parts of the directory to the list of directories
> to be deleted if something like /usr/foo/bar/blaz was extracted and
> /usr/foo and /usr/foo/bar did not exist prior to the extraction.
> 
> But that's for later, I think.
> 
> cgf
> 

- Raw text -


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