From ffa6a89c602bab7fc1470e34b05dcfe64ce87369 Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 22 Jan 2006 02:20:05 +0000 Subject: Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry Approved by: krion@ PR: ports/88711 (related) --- java/jdk13/pkg-plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java/jdk13') diff --git a/java/jdk13/pkg-plist b/java/jdk13/pkg-plist index 46421d6f989c..3896c2ae954a 100644 --- a/java/jdk13/pkg-plist +++ b/java/jdk13/pkg-plist @@ -925,9 +925,9 @@ jdk%%JDK_VERSION%%/man/man1/serialver.1 jdk%%JDK_VERSION%%/man/man1/tnameserv.1 jdk%%JDK_VERSION%%/src.jar @exec mkdir -p %D/jdk%%JDK_VERSION%%/jre/lib/ext/ -@unexec rmdir %D/jdk%%JDK_VERSION%%/jre/lib/ext 2>/dev/null || true +@dirrmtry jdk%%JDK_VERSION%%/jre/lib/ext @exec mkdir -p %D/share/doc/java -@unexec rmdir %D/share/doc/java 2>/dev/null || true +@dirrmtry share/doc/java @exec %%LOCALBASE%%/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # FREEBSD-JDK%%JDK_VERSION%%" @dirrm jdk%%JDK_VERSION%%/man/man1 @dirrm jdk%%JDK_VERSION%%/man -- cgit