summaryrefslogtreecommitdiff
path: root/community-testing/nginx/nginx.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-25 00:01:42 +0000
committerroot <root@rshg054.dnsready.net>2012-06-25 00:01:42 +0000
commit3b99c42eb8ca744e86e4e17197b1bf10642c6785 (patch)
tree32a8e3b87b35056995f805dec0e5a108425354c7 /community-testing/nginx/nginx.install
parent4319f36e44d4e7c70bf010c3286bb1739c59d4de (diff)
Mon Jun 25 00:01:41 UTC 2012
Diffstat (limited to 'community-testing/nginx/nginx.install')
-rw-r--r--community-testing/nginx/nginx.install10
1 files changed, 6 insertions, 4 deletions
diff --git a/community-testing/nginx/nginx.install b/community-testing/nginx/nginx.install
index cdad14f43..b31ee41d7 100644
--- a/community-testing/nginx/nginx.install
+++ b/community-testing/nginx/nginx.install
@@ -1,9 +1,11 @@
post_upgrade() {
+ 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 has been moved to /etc/nginx"
+ echo " - *.conf files have been moved to /etc/nginx"
echo " - /etc/conf.d/nginx has been removed"
- echo " Main configuration files is set to /etc/nginx/nginx.conf"
- echo " - access.log and error.log can be found in /var/log/nginx at default"
- echo " - bundled *.html files has been moved to /usr/share/nginx/html"
+ echo " Main configuration file is set to /etc/nginx/nginx.conf"
+ echo " - access.log and error.log can be found in /var/log/nginx by default"
+ echo " - bundled *.html files have been moved to /usr/share/nginx/html"
echo " - /etc/nginx/{html,logs} symbolic links and *.default files have been removed"
+ fi
}