From e31bed690b2fba4714686b691a351a51b98d80e8 Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 22 Jan 2006 03:01:03 +0000 Subject: Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry Approved by: krion@ PR: ports/88711 (related) --- www/jakarta-tomcat4/pkg-plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/jakarta-tomcat4') 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%% -- cgit