summaryrefslogtreecommitdiff
path: root/community/nginx
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-25 00:05:01 -0800
committerroot <root@rshg054.dnsready.net>2013-02-25 00:05:01 -0800
commit7fdd408bcb7558171b6a91530226a8b910ec906a (patch)
tree87f874d69f830d717250b1dea9f376f3a705a51e /community/nginx
parent90f97c6f30af5c30599fab0b6d6c1f474ad15fe0 (diff)
Mon Feb 25 00:04:58 PST 2013
Diffstat (limited to 'community/nginx')
-rw-r--r--community/nginx/PKGBUILD4
-rw-r--r--community/nginx/nginx.install4
2 files changed, 4 insertions, 4 deletions
diff --git a/community/nginx/PKGBUILD b/community/nginx/PKGBUILD
index 58431ac2b..b36b88ca2 100644
--- a/community/nginx/PKGBUILD
+++ b/community/nginx/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 84730 2013-02-23 20:47:41Z bpiotrowski $
+# $Id: PKGBUILD 84738 2013-02-24 00:14:35Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl>
@@ -8,7 +8,7 @@ _tmpdir=/var/lib/nginx
pkgname=nginx
pkgver=1.2.7
-pkgrel=3
+pkgrel=4
pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
arch=('i686' 'x86_64')
depends=('pcre' 'zlib' 'openssl' 'geoip')
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"