summaryrefslogtreecommitdiff
path: root/community/nginx/nginx.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/nginx/nginx.install')
-rw-r--r--community/nginx/nginx.install4
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"