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