summaryrefslogtreecommitdiffstats
path: root/net/gnu-radius
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
committeredwin <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
commite31bed690b2fba4714686b691a351a51b98d80e8 (patch)
treefb869b3f76a5b4c5a0d4932490adea12d65abd80 /net/gnu-radius
parent176655f0a1e9745862db36b0cbfab399d74d1339 (diff)
downloadFreeBSD-ports-e31bed690b2fba4714686b691a351a51b98d80e8.zip
FreeBSD-ports-e31bed690b2fba4714686b691a351a51b98d80e8.tar.gz
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'net/gnu-radius')
-rw-r--r--net/gnu-radius/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/gnu-radius/pkg-plist b/net/gnu-radius/pkg-plist
index f8abae2..32545a0 100644
--- a/net/gnu-radius/pkg-plist
+++ b/net/gnu-radius/pkg-plist
@@ -110,7 +110,7 @@ share/locale/ru/LC_MESSAGES/radius.mo
%%PORTDOCS%%%%EXAMPLESDIR%%/pam.conf
%%PORTDOCS%%%%EXAMPLESDIR%%/radius.php
@dirrm etc/raddb/dict
-@unexec rmdir %D/etc/raddb 2>/dev/null || true
+@dirrmtry etc/raddb
@dirrm include/radius
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%/%%PORTVERSION%%/scheme
@@ -118,7 +118,7 @@ share/locale/ru/LC_MESSAGES/radius.mo
@dirrm %%DATADIR%%/%%PORTVERSION%%/modules
@dirrm %%DATADIR%%/%%PORTVERSION%%
@dirrm %%DATADIR%%
-@unexec rmdir %D/lib/security 2>/dev/null || true
+@dirrmtry lib/security
@unexec rm -f /var/run/radiusd.pid
@unexec rm -rf /var/log/radius
@unexec echo "Leaving /var/run/radutmp, /var/log/radwtmp and /var/log/radstat alone."
OpenPOWER on IntegriCloud