aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/jailaudit
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
commite31bed690b2fba4714686b691a351a51b98d80e8 (patch)
treefb869b3f76a5b4c5a0d4932490adea12d65abd80 /ports-mgmt/jailaudit
parent176655f0a1e9745862db36b0cbfab399d74d1339 (diff)
downloadfreebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.gz
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.zst
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
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