From 508b8d82f4fdfc6889fe17931ef30f047501dfd6 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis 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/apache21/pkg-plist | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'www/apache21') diff --git a/www/apache21/pkg-plist b/www/apache21/pkg-plist index e8e253e3edce..9c09d2bda7ff 100644 --- a/www/apache21/pkg-plist +++ b/www/apache21/pkg-plist @@ -536,12 +536,12 @@ share/apache21/build/special.mk @dirrm share/apache21 %%APR_PORTS%%@dirrm include/apr-1 %%APR_PORTS%%@dirrm build-1 -@unexec rmdir %D/libexec/apache21 2> /dev/null || true +@dirrmtry libexec/apache21 @dirrm include/apache21 @exec mkdir -p %D/etc/apache21/Includes 2> /dev/null || true @exec mkdir -p %D/etc/apache21/envvars.d 2> /dev/null || true -@unexec rmdir %D/etc/apache21/Includes 2> /dev/null || true +@dirrmtry etc/apache21/Includes @unexec rm -f %D/etc/apache21/httpd.conf.bak 2> /dev/null || true -@unexec rmdir %D/etc/apache21/envvars.d 2> /dev/null || true -@unexec rmdir %D/etc/apache21/extra 2> /dev/null || true +@dirrmtry etc/apache21/envvars.d +@dirrmtry etc/apache21/extra @unexec rmdir %D/etc/apache21 2> /dev/null || echo "===> If you plan to do not reinstall apache21, you can safely remove %D/etc/apache21." -- cgit v1.2.3