Skip site navigation (1)Skip section navigation (2)
Date:      17 Jan 2000 05:58:24 -0800
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        Dmitry Sivachenko <dima@Chg.RU>
Cc:        ports@freebsd.org
Subject:   Re: About @dirrm
Message-ID:  <vqcogak6br3.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Dmitry Sivachenko's message of "Mon, 17 Jan 2000 13:40:54 %2B0300 (MSK)"
References:  <200001171040.NAA20942@netserv1.chg.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Dmitry Sivachenko <dima@Chg.RU>

 * 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




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