diff options
author | osa <osa@FreeBSD.org> | 2004-12-07 17:07:43 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2004-12-07 17:07:43 +0800 |
commit | f28d29de9ab42b7a8f8ed2a6d918fb2aedbc64a6 (patch) | |
tree | 5a59c0678eed43afe161b8086d782b6a19a7b535 /www/nginx/pkg-plist | |
parent | d26188cf89813019b4804f1ca95660bf55c7800a (diff) | |
download | freebsd-ports-gnome-f28d29de9ab42b7a8f8ed2a6d918fb2aedbc64a6.tar.gz freebsd-ports-gnome-f28d29de9ab42b7a8f8ed2a6d918fb2aedbc64a6.tar.zst freebsd-ports-gnome-f28d29de9ab42b7a8f8ed2a6d918fb2aedbc64a6.zip |
Update to 0.1.12.
Fix link to WWWDATA directory (test link exist before make link).
Add two new knobs: START_AFTER_INSTALL and STOP_BEFORE_REMOVE.
Diffstat (limited to 'www/nginx/pkg-plist')
-rw-r--r-- | www/nginx/pkg-plist | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist index 543e40b9de3d..c9ab18f7b2b3 100644 --- a/www/nginx/pkg-plist +++ b/www/nginx/pkg-plist @@ -1,4 +1,5 @@ @comment $FreeBSD$ +etc/nginx/koi-win @unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi etc/nginx/mime.types-dist @exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types @@ -14,3 +15,7 @@ etc/nginx/nginx.conf-dist %%WWWDATA%%@exec chmod a-w www/nginx-dist %%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi %%WWWDATA%%@dirrm www/nginx-dist +%%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true +sbin/nginx +etc/rc.d/nginx.sh +%%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start |