Skip site navigation (1)Skip section navigation (2)
Date:      01 May 2000 13:29:29 -0700
From:      asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami)
To:        Gary Jennejohn <garyj@muc.de>
Cc:        ports@FreeBSD.ORG
Subject:   Re: lists of files and directories missing from PLIST
Message-ID:  <vqcitwydnfa.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Gary Jennejohn's message of "Mon, 01 May 2000 15:30:42 %2B0200"
References:  <200005011330.PAA04307@peedub.muc.de>

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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.

 * We could force the install of files common to 2 or more ports into
 * unique directories, but then the user ends up with redundancies. The
 * other possibility would be to check dependencies and see whether the
 * files to be deleted are required by another installed port, but that
 * can get hairy.

Yes, that's too hairy. :)

Satoshi


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?vqcitwydnfa.fsf>