aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/jailaudit
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
commit508b8d82f4fdfc6889fe17931ef30f047501dfd6 (patch)
treef7810d4887e5297c7b7788225e906b99c81d709b /ports-mgmt/jailaudit
parent4008c7e23fe847e2c8ade0ecb5d86f943d84c917 (diff)
downloadports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.tar.gz
ports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Notes
Notes: svn path=/head/; revision=154116
Diffstat (limited to 'ports-mgmt/jailaudit')
-rw-r--r--ports-mgmt/jailaudit/pkg-plist10
1 files changed, 5 insertions, 5 deletions
diff --git a/ports-mgmt/jailaudit/pkg-plist b/ports-mgmt/jailaudit/pkg-plist
index 447a2b0a3746..43a7a083dd0d 100644
--- a/ports-mgmt/jailaudit/pkg-plist
+++ b/ports-mgmt/jailaudit/pkg-plist
@@ -1,11 +1,11 @@
bin/jailaudit
etc/jailaudit.conf.sample
%%PERIODICDIR%%/security/410.jailaudit
-@unexec rmdir %D/%%PERIODICDIR%%/security 2>/dev/null || true
-@unexec rmdir %D/%%PERIODICDIR%% 2>/dev/null || true
+@dirrmtry %%PERIODICDIR%%/security
+@dirrmtry %%PERIODICDIR%%
@exec mkdir -p %D/%%REPORTDIR%%
-@unexec rmdir %D/%%REPORTDIR%% 2>/dev/null || true
+@dirrmtry %%REPORTDIR%%
@exec mkdir -p %D/%%TMPDIR%%
-@unexec rmdir %D/%%TMPDIR%% 2>/dev/null || true
+@dirrmtry %%TMPDIR%%
@unexec rmdir %DPDIR%% 2>/dev/null || true
-@unexec rmdir %D/jailaudit 2>/dev/null || true
+@dirrmtry jailaudit