Browse Source

EasyEngine 2.0.2

bugfixes
Mitesh Shah 11 years ago
parent
commit
a32a54c40b
  1. 3
      CHANGELOG.txt
  2. 17
      bin/update
  3. 3
      docs/index.md
  4. 2
      src/lib/ee_lib_variables.sh

3
CHANGELOG.txt

@ -1,3 +1,6 @@
v 2.0.2 - July 21, 2014
- Remote MySQL Support
v 2.0.1 - July 21, 2014 v 2.0.1 - July 21, 2014
- Fixed wp-cli installation #289 - Fixed wp-cli installation #289

17
bin/update

@ -156,6 +156,9 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
source $ee_include source $ee_include
done done
# Avoid re-source and readonly errors
ee_source=1
# Lets modify the $EE_COMMAND_LOG value # Lets modify the $EE_COMMAND_LOG value
# So all the logs write in $EE_UPDATE_LOG # So all the logs write in $EE_UPDATE_LOG
EE_COMMAND_LOG=$EE_UPDATE_LOG EE_COMMAND_LOG=$EE_UPDATE_LOG
@ -383,11 +386,14 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
fi fi
if [[ $EE_CURRENT_VERSION < 2.0.1 ]]; then if [[ $EE_CURRENT_VERSION < 2.0.1 ]]; then
# Lets re-used our functions # Lets re-used our functions
# Include library # Include library
for ee_include in $(find /usr/local/lib/easyengine/ -iname "*.sh"); do if [ $ee_source != 1 ]; then
source $ee_include for ee_include in $(find /usr/local/lib/easyengine/ -iname "*.sh"); do
done source $ee_include
done
fi
if [[ $EE_CURRENT_VERSION = 2.0.0 ]]; then if [[ $EE_CURRENT_VERSION = 2.0.0 ]]; then
dpkg -l | grep php5-fpm &>> $EE_UPDATE_LOG dpkg -l | grep php5-fpm &>> $EE_UPDATE_LOG
@ -399,6 +405,11 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
# Install WP-CLI # Install WP-CLI
ee_ven_install_wpcli ee_ven_install_wpcli
fi fi
# Update EasyEngine current version
EE_CURRENT_VERSION="2.0.1"
fi
if [[ $EE_CURRENT_VERSION = 2.0.1 ]]; then
sed -i 's/host =.*/grant-host = localhost/' /etc/easyengine/ee.conf
fi fi
fi fi

3
docs/index.md

@ -1,3 +0,0 @@
### Test
Markdown

2
src/lib/ee_lib_variables.sh

@ -1,7 +1,7 @@
# Define global variables # Define global variables
# EasyEngine version # EasyEngine version
readonly EE_VERSION='2.0.1' readonly EE_VERSION='2.0.2'
# WP-CLI version # WP-CLI version
readonly EE_WP_CLI_VERSION='0.16.0' readonly EE_WP_CLI_VERSION='0.16.0'

Loading…
Cancel
Save