automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FEATURE REQUEST: make uninstall should delete empty directories.


From: Andrew Suffield
Subject: Re: FEATURE REQUEST: make uninstall should delete empty directories.
Date: Thu, 4 Mar 2004 05:23:05 +0000
User-agent: Mutt/1.5.5.1+cvs20040105i

On Tue, Mar 02, 2004 at 05:00:14PM -0500, Eric Siegerman wrote:
> On Tue, Mar 02, 2004 at 08:34:19AM -0600, Bob Friesenhahn wrote:
> > If a package supports creating the directory /usr/local (as Automake
> > does by default) should this directory be recursively removed if a
> > package is uninstalled?
> 
> Absolutely not!  (I rather suspect the question was rhetorical,
> but I'm answering it anyway :-)

Nor will it, because /usr/local will never be empty.

> Thus, if I'm right that Automake doesn't know which directories
> the package owns, it should should err on the side of caution: it
> should *not* try to delete any empty directories at uninstall
> time.  Neither should Automake try to guess -- guesses involving
> the "rm" command, especially as root, are a really dangerous
> idea!

That's why you use the rmdir command.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]