Skip to content

Commit 4ea1607

Browse files
committed
EasyEngine 2.0.2
1 parent 7a87cc3 commit 4ea1607

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

CHANGELOG.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v 2.0.2 - July 21, 2014
2+
- Remote MySQL Support
3+
14
v 2.0.1 - July 21, 2014
25
- Fixed wp-cli installation #289
36

bin/update

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff 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

docs/index.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/lib/ee_lib_variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
77
readonly EE_WP_CLI_VERSION='0.16.0'

0 commit comments

Comments
 (0)