Skip to content
Snippets Groups Projects
Commit 96d59b6d authored by Emmanuel Ormancey's avatar Emmanuel Ormancey
Browse files

d

parent 48bb16c4
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,8 @@ if ! $(/opt/app-root/bin/wp core is-installed); then ...@@ -46,7 +46,8 @@ if ! $(/opt/app-root/bin/wp core is-installed); then
#/opt/app-root/bin/wp search-replace 'http://$APPLICATION_NAME.web.cern.ch' 'https://$APPLICATION_NAME.web.cern.ch' --skip-columns=guid --dry-run #/opt/app-root/bin/wp search-replace 'http://$APPLICATION_NAME.web.cern.ch' 'https://$APPLICATION_NAME.web.cern.ch' --skip-columns=guid --dry-run
else else
echo "Wordpress site is already setup according to wp core is-installed command" echo "Wordpress site is already setup according to wp core is-installed command"
if ! $(/opt/app-root/bin/wp core check-update); then #if ! $(/opt/app-root/bin/wp core check-update); then
if ! [[ $(/opt/app-root/bin/wp core check-update) == *"WordPress is at the latest version"* ]] 2>/dev/null; then
echo "Update is needed, proceeding" echo "Update is needed, proceeding"
# Update WP core files # Update WP core files
/opt/app-root/bin/wp core update /opt/app-root/bin/wp core update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment