install wp-cli during initial setup
This commit is contained in:
4
install
4
install
@@ -678,8 +678,7 @@ wo_git_init()
|
||||
}> /dev/null
|
||||
}
|
||||
|
||||
if [ ! -x /usr/local/bin/ee ]; then
|
||||
if [ ! -x /usr/local/bin/wo ]; then
|
||||
if [ ! -f /usr/local/bin/wo ]; then
|
||||
wo_lib_echo "Installing depedencies" | tee -ai $wo_install_log
|
||||
wo_install_dep | tee -ai $wo_install_log
|
||||
wo_lib_echo "Installing WordOps $wo_branch" | tee -ai $wo_install_log
|
||||
@@ -688,7 +687,6 @@ if [ ! -x /usr/local/bin/ee ]; then
|
||||
secure_wo_db | tee -ai $EE_INSTALL_LOG
|
||||
wo_git_init | tee -ai $wo_install_log
|
||||
wo_update_wp_cli | tee -ai $wo_install_log
|
||||
fi
|
||||
else
|
||||
wo -v 2>&1 | grep $wo_version_new &>> /dev/null
|
||||
if [[ $? -ne 0 ]];then
|
||||
|
||||
Reference in New Issue
Block a user