aboutsummaryrefslogtreecommitdiff
path: root/www/apache20
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/apache20
parent4008c7e23fe847e2c8ade0ecb5d86f943d84c917 (diff)
downloadports-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/apache20')
-rw-r--r--www/apache20/pkg-plist6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/apache20/pkg-plist b/www/apache20/pkg-plist
index 90d2c03b0574..3ad2a7266a9c 100644
--- a/www/apache20/pkg-plist
+++ b/www/apache20/pkg-plist
@@ -518,12 +518,12 @@ share/apache2/build/special.mk
@dirrm %%EXAMPLESDIR%%
@dirrm share/apache2/build
@dirrm share/apache2
-@unexec rmdir %D/libexec/apache2 2> /dev/null || true
+@dirrmtry libexec/apache2
@dirrm lib/apache2
@dirrm include/apache2
@exec mkdir -p %D/etc/apache2/Includes 2> /dev/null || true
@exec mkdir -p %D/etc/apache2/envvars.d 2> /dev/null || true
-@unexec rmdir %D/etc/apache2/Includes 2> /dev/null || true
-@unexec rmdir %D/etc/apache2/envvars.d 2> /dev/null || true
+@dirrmtry etc/apache2/Includes
+@dirrmtry etc/apache2/envvars.d
@unexec rm -f %D/etc/apache2/httpd.conf.bak 2> /dev/null || true
@unexec rmdir %D/etc/apache2 2> /dev/null || echo "===> If you plan to do not reinstall apache2, you can safely remove %D/etc/apache2."