Almost there, don't use this yet

This commit is contained in:
jeroenlaylo
2018-11-30 18:09:31 +01:00
parent da6e657f8d
commit d8a570018a
5 changed files with 15 additions and 18 deletions

View File

@@ -63,7 +63,7 @@ fi
###
wo_branch=$1
readonly wo_version_old="2.2.3"
readonly wo_version_new="3.8.5"
readonly wo_version_new="3.8.6"
readonly wo_log_dir=/var/log/wo/
readonly wo_install_log=/var/log/wo/install.log
readonly wo_linux_distro=$(lsb_release -i | awk '{print $3}')
@@ -447,7 +447,6 @@ if [ -f /etc/ImageMagick/policy.xml ]
systemctl restart nginx &>> /dev/null
fi
fi
fi
if [ -f /etc/nginx/nginx.conf ]; then
sed -i "s/.*X-Powered-By.*/\tadd_header X-Powered-By \"WordOps $wo_version_new\";/" /etc/nginx/nginx.conf &>> /dev/null
@@ -675,4 +674,4 @@ echo
wo_lib_echo_info "source /etc/bash_completion.d/wo_auto.rc"
echo
wo_lib_echo "Yay! WordOps (wo) installed/updated successfully"
wo_lib_echo "WordOps (wo) help: https://wordops.org/docs"
wo_lib_echo "WordOps (wo) help: https://wordops.org/docs"