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 /www/jakarta-tomcat4 | |
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 'www/jakarta-tomcat4')
-rw-r--r-- | www/jakarta-tomcat4/pkg-plist | 4 |
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%% |