aboutsummaryrefslogtreecommitdiffstats
path: root/www/jakarta-tomcat4
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
commite31bed690b2fba4714686b691a351a51b98d80e8 (patch)
treefb869b3f76a5b4c5a0d4932490adea12d65abd80 /www/jakarta-tomcat4
parent176655f0a1e9745862db36b0cbfab399d74d1339 (diff)
downloadfreebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.gz
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.zst
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
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%%