summaryrefslogtreecommitdiff
path: root/www/apache22
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/apache22
parentFix pkg-plist. (diff)
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/apache22')
-rw-r--r--www/apache22/pkg-plist10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/apache22/pkg-plist b/www/apache22/pkg-plist
index c2f27f3b92a3..f6e4d0787cac 100644
--- a/www/apache22/pkg-plist
+++ b/www/apache22/pkg-plist
@@ -532,11 +532,11 @@ www/apache22/icons/world2.png
@dirrm share/apache22
%%APR_PORTS%%@dirrm include/apr-1
%%APR_PORTS%%@dirrm build-1
-@unexec rmdir %D/libexec/apache22 2> /dev/null || true
+@dirrmtry libexec/apache22
@dirrm include/apache22
-@unexec rmdir %D/www/apache22 2> /dev/null || true
-@unexec rmdir %D/etc/apache22/Includes 2> /dev/null || true
+@dirrmtry www/apache22
+@dirrmtry etc/apache22/Includes
@unexec rm -f %D/etc/apache22/httpd.conf.bak 2> /dev/null || true
-@unexec rmdir %D/etc/apache22/envvars.d 2> /dev/null || true
-@unexec rmdir %D/etc/apache22/extra 2> /dev/null || true
+@dirrmtry etc/apache22/envvars.d
+@dirrmtry etc/apache22/extra
@unexec rmdir %D/etc/apache22 2> /dev/null || echo "===> If you plan to do not reinstall apache22, you can safely remove %D/etc/apache22."