diff options
author | root <root@rshg054.dnsready.net> | 2013-02-25 00:05:01 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-25 00:05:01 -0800 |
commit | 7fdd408bcb7558171b6a91530226a8b910ec906a (patch) | |
tree | 87f874d69f830d717250b1dea9f376f3a705a51e /community/nginx/nginx.install | |
parent | 90f97c6f30af5c30599fab0b6d6c1f474ad15fe0 (diff) |
Mon Feb 25 00:04:58 PST 2013
Diffstat (limited to 'community/nginx/nginx.install')
-rw-r--r-- | community/nginx/nginx.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/nginx/nginx.install b/community/nginx/nginx.install index 242766abd..efc155556 100644 --- a/community/nginx/nginx.install +++ b/community/nginx/nginx.install @@ -1,12 +1,12 @@ post_install() { if [[ -e var/log/nginx ]]; then - chmod 640 var/log/nginx + chmod 750 var/log/nginx chown root:log var/log/nginx fi } post_upgrade() { - [[ $(vercmp $2 1.2.7-2) -le 0 ]] && post_install + [[ $(vercmp $2 1.2.7-3) -le 0 ]] && post_install if [[ $(vercmp $2 1.2.1-2) -le 0 ]]; then echo " >>> Since 1.2.1-2 several changes has been made in package:" echo " - *.conf files have been moved to /etc/nginx" |