diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
commit | 508b8d82f4fdfc6889fe17931ef30f047501dfd6 (patch) | |
tree | f7810d4887e5297c7b7788225e906b99c81d709b /www/apache21 | |
parent | 4008c7e23fe847e2c8ade0ecb5d86f943d84c917 (diff) | |
download | ports-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/apache21')
-rw-r--r-- | www/apache21/pkg-plist | 8 |
1 files changed, 4 insertions, 4 deletions
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." |