From owner-freebsd-ports Mon Jan 17 6: 0:14 2000 Delivered-To: freebsd-ports@freebsd.org Received: from m0.cs.berkeley.edu (m0.CS.Berkeley.EDU [128.32.45.176]) by hub.freebsd.org (Postfix) with ESMTP id E420E14A03 for ; Mon, 17 Jan 2000 06:00:11 -0800 (PST) (envelope-from asami@stampede.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca44-58.ix.netcom.com [209.111.212.186]) by m0.cs.berkeley.edu (8.9.3/8.9.3) with ESMTP id FAA33444; Mon, 17 Jan 2000 05:59:47 -0800 (PST) (envelope-from asami@stampede.cs.berkeley.edu) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id FAA10516; Mon, 17 Jan 2000 05:58:50 -0800 (PST) To: Dmitry Sivachenko Cc: ports@freebsd.org Subject: Re: About @dirrm References: <200001171040.NAA20942@netserv1.chg.ru> From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) Date: 17 Jan 2000 05:58:24 -0800 In-Reply-To: Dmitry Sivachenko's message of "Mon, 17 Jan 2000 13:40:54 +0300 (MSK)" Message-ID: Lines: 16 X-Mailer: Gnus v5.7/Emacs 20.5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Dmitry Sivachenko * Some ports install data to directories which do not exist in the base system, * but they may be created by multiple ports, e.g. * /usr/local/lib/perl5/site-perl/5.005/Locale * * Is it necessary to @dirrm them? As the handbook says, you can do something like @unexec rmdir %D/share/doc/gimp 2>/dev/null || true to remove the directory only if it is empty, and proceed quietly if it is not. -PW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message