summaryrefslogtreecommitdiffstats
path: root/security/courier-authlib
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 06:28:59 +0000
committeredwin <edwin@FreeBSD.org>2006-01-22 06:28:59 +0000
commit1677f97aa26c838254a6818de8cfcfd86c746dfb (patch)
tree2c27fc7a03a5b890cdd90d621e595a87209475e6 /security/courier-authlib
parent9a0941e0406efa462ec7e72b9a3422d5f60a1506 (diff)
downloadFreeBSD-ports-1677f97aa26c838254a6818de8cfcfd86c746dfb.zip
FreeBSD-ports-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.gz
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'security/courier-authlib')
-rw-r--r--security/courier-authlib/pkg-plist-base2
-rw-r--r--security/courier-authlib/pkg-plist-ldap4
2 files changed, 3 insertions, 3 deletions
diff --git a/security/courier-authlib/pkg-plist-base b/security/courier-authlib/pkg-plist-base
index 3a3b3f9..b6e8a39 100644
--- a/security/courier-authlib/pkg-plist-base
+++ b/security/courier-authlib/pkg-plist-base
@@ -43,6 +43,6 @@ sbin/courierlogger
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec rm -rf %%AUTHDAEMONVAR%% 2>/dev/null || true
-@unexec rmdir %D/etc/authlib 2>/dev/null || true
+@dirrmtry etc/authlib
@dirrm libexec/courier-authlib
@dirrm lib/courier-authlib
diff --git a/security/courier-authlib/pkg-plist-ldap b/security/courier-authlib/pkg-plist-ldap
index 9cad26f..45a0911 100644
--- a/security/courier-authlib/pkg-plist-ldap
+++ b/security/courier-authlib/pkg-plist-ldap
@@ -7,5 +7,5 @@ etc/openldap/schema/authldap.schema.default
lib/courier-authlib/libauthldap.so
lib/courier-authlib/libauthldap.so.0
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
-@unexec rmdir %D/etc/openldap/schema 2>/dev/null || true
-@unexec rmdir %D/etc/openldap 2>/dev/null || true
+@dirrmtry etc/openldap/schema
+@dirrmtry etc/openldap
OpenPOWER on IntegriCloud