aboutsummaryrefslogtreecommitdiff
path: root/www/oops
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 /www/oops
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 'www/oops')
-rw-r--r--www/oops/pkg-plist10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/oops/pkg-plist b/www/oops/pkg-plist
index 392066cca2fb..b63dd14e05e2 100644
--- a/www/oops/pkg-plist
+++ b/www/oops/pkg-plist
@@ -53,11 +53,11 @@ sbin/oops
sbin/oopsctl
@dirrm libexec/oops
@dirrm etc/oops/tables
-@unexec rmdir %D/etc/oops 2>/dev/null || true
-@unexec rmdir %D/oops/DB 2>/dev/null || true
-@unexec rmdir %D/oops/logs 2>/dev/null || true
-@unexec rmdir %D/oops/storages 2>/dev/null || true
-@unexec rmdir %D/oops 2>/dev/null || true
+@dirrmtry etc/oops
+@dirrmtry oops/DB
+@dirrmtry oops/logs
+@dirrmtry oops/storages
+@dirrmtry oops
@unexec rmdir /var/log/oops 2>/dev/null || true
@unexec rm -f /var/run/oops/oopsctl 2>/dev/null || true
@unexec rm -f /var/run/oops/oops_statfile 2>/dev/null || true