aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx/pkg-plist
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2010-09-03 21:28:39 +0800
committerosa <osa@FreeBSD.org>2010-09-03 21:28:39 +0800
commited467cc838b39d9af7e10072d29de8d4f664ebf1 (patch)
treeb54d766c729ad6e73ceebf710b3d969660a82739 /www/nginx/pkg-plist
parentdc845616e7ae743af0bc353d42bf8d3c472a94c9 (diff)
downloadfreebsd-ports-gnome-ed467cc838b39d9af7e10072d29de8d4f664ebf1.tar.gz
freebsd-ports-gnome-ed467cc838b39d9af7e10072d29de8d4f664ebf1.tar.zst
freebsd-ports-gnome-ed467cc838b39d9af7e10072d29de8d4f664ebf1.zip
Install three plain configuration files with -dist prefix.
Do not remove fastcgi_params configuration file, which may carefully edited by the user. Sync DEBUG knob description with www/nginx-devel. Bump PORTREVISION.
Diffstat (limited to 'www/nginx/pkg-plist')
-rw-r--r--www/nginx/pkg-plist4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist
index a7e17fd87740..aca447f49243 100644
--- a/www/nginx/pkg-plist
+++ b/www/nginx/pkg-plist
@@ -1,5 +1,7 @@
@comment $FreeBSD$
-%%ETCDIR%%/fastcgi_params
+@unexec if cmp -s %D/%%ETCDIR%%/fastcgi_params-dist %D/%%ETCDIR%%/fastcgi_params; then rm -f %D/%%ETCDIR%%/fastcgi_params; fi
+%%ETCDIR%%/fastcgi_params-dist
+@exec if [ ! -f %D/%%ETCDIR%%/fastcgi_params ] ; then cp -p %D/%F %B/fastcgi_params; fi
%%ETCDIR%%/koi-utf
%%ETCDIR%%/koi-win
%%ETCDIR%%/win-utf