Browse Source

Fixed ee.conf issue

old-stable
Mitesh Shah 11 years ago
parent
commit
d464a8b279
  1. 16
      bin/eeupdate

16
bin/eeupdate

@ -175,13 +175,13 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
read -p "Enter email address: " ee_wp_email
# Update value in ee.conf file
$EE_CONFIG_SET stack.ip-address $ee_stack_ip && \
$EE_CONFIG_SET auth.user $ee_auth_user && \
$EE_CONFIG_SET auth.password $ee_auth_pass && \
$EE_CONFIG_SET mysql.host $ee_mysql_host && \
$EE_CONFIG_SET wordpress.user $ee_wp_user && \
$EE_CONFIG_SET wordpress.password $ee_wp_pass && \
$EE_CONFIG_SET wordpress.email $ee_wp_email \
$EE_CONFIG_SET stack.ip-address "$(echo -n $ee_stack_ip)" && \
$EE_CONFIG_SET auth.user "$(echo -n $ee_auth_user)" && \
$EE_CONFIG_SET auth.password "$(echo -n $ee_auth_pass)" && \
$EE_CONFIG_SET mysql.host "$(echo -n $ee_mysql_host)" && \
$EE_CONFIG_SET wordpress.user "$(echo -n $ee_wp_user)" && \
$EE_CONFIG_SET wordpress.password "$(echo -n $ee_wp_pass)" && \
$EE_CONFIG_SET wordpress.email "$(echo -n $ee_wp_email)" \
|| ee_lib_error "Unable to update ee.conf file, exit status = " $?
# NGINX conf.d
@ -386,4 +386,4 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
fi
else
ee_lib_echo "Latest version ($EE_CURRENT_VERSION) already installed"
fi
fi

Loading…
Cancel
Save