summaryrefslogtreecommitdiff
path: root/www/apache20
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-02 21:41:15 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-02 21:41:15 +0000
commitd11b1bb90c572b72def9b0f8b809ee4285ec2d65 (patch)
tree0f641779faa754f4598187180481b8e2eb55d5e2 /www/apache20
parentAdd a manpage to MAN1 (diff)
Remove unchanged configuration files and www/{cgi-bin,data} symlinks.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=29117
Diffstat (limited to 'www/apache20')
-rw-r--r--www/apache20/pkg-plist7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/apache20/pkg-plist b/www/apache20/pkg-plist
index 52277a5de835..ad5603da16f9 100644
--- a/www/apache20/pkg-plist
+++ b/www/apache20/pkg-plist
@@ -1,14 +1,19 @@
bin/dbmmanage
bin/htdigest
bin/htpasswd
+@unexec if cmp -s %D/etc/apache/access.conf %D/etc/apache/access.conf.default; then rm -f %D/etc/apache/access.conf; fi
etc/apache/access.conf.default
@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf
+@unexec if cmp -s %D/etc/apache/httpd.conf %D/etc/apache/httpd.conf.default; then rm -f %D/etc/apache/httpd.conf; fi
etc/apache/httpd.conf.default
@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf
+@unexec if cmp -s %D/etc/apache/magic %D/etc/apache/magic.default; then rm -f %D/etc/apache/magic; fi
etc/apache/magic.default
@exec [ ! -f %B/magic ] && cp %B/%f %B/magic
+@unexec if cmp -s %D/etc/apache/mime.types %D/etc/apache/mime.types.default; then rm -f %D/etc/apache/mime.types; fi
etc/apache/mime.types.default
@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types
+@unexec if cmp -s %D/etc/apache/srm.conf %D/etc/apache/srm.conf.default; then rm -f %D/etc/apache/srm.conf; fi
etc/apache/srm.conf.default
@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf
etc/rc.d/apache.sh
@@ -341,6 +346,8 @@ www/icons/uuencoded.gif
www/icons/world1.gif
www/icons/world2.gif
@exec mkdir -p %D/www/proxy
+@unexec if [ -L %D/www/cgi-bin ]; then rm -f %D/www/cgi-bin; fi
+@unexec if [ -L %D/www/data ]; then rm -f %D/www/data; fi
@dirrm etc/apache
@dirrm include/apache/xml
@dirrm include/apache