Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2000 19:06:20 +0300 (MSK)
From:      Dmitry Sivachenko <dima@Chg.RU>
To:        asami@freebsd.org, dima@Chg.RU
Cc:        ports@freebsd.org
Subject:   Re: About @dirrm
Message-ID:  <200002011606.TAA13010@netserv1.chg.ru>
In-Reply-To: <vqcogak6br3.fsf@silvia.hip.berkeley.edu>

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

Portlint comlains about it though.  (use "@dirrm" instead of "@unexec rmdir")...

--dima

>
> -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?200002011606.TAA13010>