diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
commit | 508b8d82f4fdfc6889fe17931ef30f047501dfd6 (patch) | |
tree | f7810d4887e5297c7b7788225e906b99c81d709b /ports-mgmt/jailaudit | |
parent | 4008c7e23fe847e2c8ade0ecb5d86f943d84c917 (diff) | |
download | ports-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-plist | 10 |
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 |