|
|
@ -48,7 +48,7 @@ fi |
|
|
|
# Define variables for later use |
|
|
|
ee_branch=$1 |
|
|
|
readonly ee_version_old="2.2.3" |
|
|
|
readonly ee_version_new="3.3.5" |
|
|
|
readonly ee_version_new="3.3.6" |
|
|
|
readonly ee_log_dir=/var/log/ee/ |
|
|
|
readonly ee_install_log=/var/log/ee/install.log |
|
|
|
readonly ee_linux_distro=$(lsb_release -i | awk '{print $3}') |
|
|
@ -302,6 +302,8 @@ function ee_update_latest() |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -f /etc/nginx/nginx.conf ]; then |
|
|
|
ee_lib_echo "Updating Nginx configuration, please wait..." |
|
|
|
# From version 3.1.10 we are using Suse builder for repository |
|
|
|
if [ "$ee_distro_version" == "precise" ]; then |
|
|
@ -375,6 +377,7 @@ function ee_update_latest() |
|
|
|
apt-get -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confold" -y install nginx-custom |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -f /etc/nginx/nginx.conf ]; then |
|
|
|
sed -i "s/.*X-Powered-By.*/\tadd_header X-Powered-By \"EasyEngine $ee_version_new\";/" /etc/nginx/nginx.conf &>> /dev/null |
|
|
|