aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache22
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/apache22
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/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."