From 508b8d82f4fdfc6889fe17931ef30f047501dfd6 Mon Sep 17 00:00:00 2001
From: Edwin Groothuis <edwin@FreeBSD.org>
Date: Sun, 22 Jan 2006 03:01:03 +0000
Subject: Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
---
 net/jwhois/pkg-plist | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'net/jwhois')

diff --git a/net/jwhois/pkg-plist b/net/jwhois/pkg-plist
index 525eb0f0be15..eb1d00673ee5 100644
--- a/net/jwhois/pkg-plist
+++ b/net/jwhois/pkg-plist
@@ -19,9 +19,9 @@ etc/jwhois.conf.sample
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/jwhois.mo
 @exec mkdir -p %D/var/jwhois 2>/dev/null || true
 @unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true
-@unexec rmdir %D/var/jwhois 2>/dev/null || true
-@unexec rmdir %D/var 2>/dev/null || true
-@unexec rmdir %D/man/sv/man1 2>/dev/null || true
-@unexec rmdir %D/man/sv 2>/dev/null || true
+@dirrmtry var/jwhois
+@dirrmtry var
+@dirrmtry man/sv/man1
+@dirrmtry man/sv
 @unexec rmdir %D/share/locale/rw/LC_MESSAGES
 @unexec rmdir %D/share/locale/rw
-- 
cgit v1.2.3