File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 1+ v 2.0.2 - July 21, 2014
2+ - Remote MySQL Support
3+
14v 2.0.1 - July 21, 2014
25 - Fixed wp-cli installation #289
36
Original file line number Diff line number Diff line change @@ -155,6 +155,9 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
155155 for ee_include in $( find /usr/local/lib/easyengine/ -iname " *.sh" ) ; do
156156 source $ee_include
157157 done
158+
159+ # Avoid re-source and readonly errors
160+ ee_source=1
158161
159162 # Lets modify the $EE_COMMAND_LOG value
160163 # So all the logs write in $EE_UPDATE_LOG
@@ -383,11 +386,14 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
383386 fi
384387
385388 if [[ $EE_CURRENT_VERSION < 2.0.1 ]]; then
389+
386390 # Lets re-used our functions
387391 # Include library
388- for ee_include in $( find /usr/local/lib/easyengine/ -iname " *.sh" ) ; do
389- source $ee_include
390- done
392+ if [ $ee_source != 1 ]; then
393+ for ee_include in $( find /usr/local/lib/easyengine/ -iname " *.sh" ) ; do
394+ source $ee_include
395+ done
396+ fi
391397
392398 if [[ $EE_CURRENT_VERSION = 2.0.0 ]]; then
393399 dpkg -l | grep php5-fpm & >> $EE_UPDATE_LOG
@@ -399,6 +405,11 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
399405 # Install WP-CLI
400406 ee_ven_install_wpcli
401407 fi
408+ # Update EasyEngine current version
409+ EE_CURRENT_VERSION=" 2.0.1"
410+ fi
411+ if [[ $EE_CURRENT_VERSION = 2.0.1 ]]; then
412+ sed -i ' s/host =.*/grant-host = localhost/' /etc/easyengine/ee.conf
402413 fi
403414 fi
404415
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Define global variables
22
33# EasyEngine version
4- readonly EE_VERSION=' 2.0.1 '
4+ readonly EE_VERSION=' 2.0.2 '
55
66# WP-CLI version
77readonly EE_WP_CLI_VERSION=' 0.16.0'
You can’t perform that action at this time.
0 commit comments