aboutsummaryrefslogtreecommitdiff
path: root/www/jakarta-tomcat4
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/jakarta-tomcat4
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/jakarta-tomcat4')
-rw-r--r--www/jakarta-tomcat4/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/jakarta-tomcat4/pkg-plist b/www/jakarta-tomcat4/pkg-plist
index 45855e0e3f87..95e5b3ae4ed9 100644
--- a/www/jakarta-tomcat4/pkg-plist
+++ b/www/jakarta-tomcat4/pkg-plist
@@ -971,7 +971,7 @@ etc/rc.d/020.jakarta-tomcat4.sh
@exec mkdir %D/%%T%%/server/classes || true
@exec mkdir %D/%%T%%/work || true
@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%T%%/
-@unexec rmdir %D/%%T%%/conf 2>/dev/null || true
+@dirrmtry %%T%%/conf
@dirrm %%T%%/logs
@dirrm %%T%%/webapps/tomcat-docs/appdev/sample/src/mypackage
@dirrm %%T%%/webapps/tomcat-docs/appdev/sample/src
@@ -1095,4 +1095,4 @@ etc/rc.d/020.jakarta-tomcat4.sh
@dirrm %%T%%/server/classes
@dirrm %%T%%/server
@dirrm %%T%%/work
-@unexec rmdir %D/%%T%% 2>/dev/null || true
+@dirrmtry %%T%%