Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 May 2000 22:09:27 +0200
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        asami@freebsd.org (Satoshi - Ports Wraith - Asami)
Cc:        ports@freebsd.org
Subject:   Re: lists of files and directories missing from PLIST 
Message-ID:  <200005022009.WAA08799@peedub.muc.de>
In-Reply-To: Your message of "01 May 2000 13:29:29 PDT." <vqcitwydnfa.fsf@silvia.hip.berkeley.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi - Ports Wraith - Asami writes:
> * From: Gary Jennejohn <garyj@peedub.muc.de>
>
> * I'm wondering about ports like vile and xvile (which I maintain) which
> * share directories (specifically lib/vile and doc/vile). If a user has
> * both installed and decides to delete on of them we don't want to pull
> * the rug out from under his feet by arbitrarily nuking everything.
>
>According to the handbook, you can do something like
>
>@unexec rmdir %D/lib/vile 2>/dev/null || true
>
>to remove the directory only if it is empty, and fail quietly if it
>doesn't so the user doesn't get scared.
>

Yes, but you say that leaving a file/directory behind will become a fatal
error at some time in the future. If I leave some files in a dir because
I know another port needs them, then that should not be considered fatal.

How to differentiate, that's the problem.

I guess the simplest solution is just to redundantly install the files in
unique directories :(

---
Gary Jennejohn / garyj@muc.de gj@freebsd.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005022009.WAA08799>