summaryrefslogtreecommitdiff
path: root/community-testing/nginx/nginx.install
diff options
context:
space:
mode:
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
}